File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -683,11 +683,11 @@ TEST(BlackboardTest, SetBlackboard_Upd_Ts_SeqId)
683
683
const auto entry_ptr = blackboard->getEntry (" other_point" );
684
684
const auto ts1 = entry_ptr->stamp ;
685
685
const auto seq_id1 = entry_ptr->sequence_id ;
686
- std::this_thread::sleep_for (std::chrono::milliseconds{5 });
686
+ std::this_thread::sleep_for (std::chrono::milliseconds{ 5 });
687
687
tree.tickExactlyOnce ();
688
688
const auto ts2 = entry_ptr->stamp ;
689
689
const auto seq_id2 = entry_ptr->sequence_id ;
690
-
690
+
691
691
ASSERT_GT (ts2.count (), ts1.count ());
692
692
ASSERT_GT (seq_id2, seq_id1);
693
693
}
@@ -718,11 +718,8 @@ TEST(BlackboardTest, SetBlackboard_ChangeType)
718
718
// First tick should succeed
719
719
ASSERT_NO_THROW (tree.tickExactlyOnce ());
720
720
const auto entry_ptr = blackboard->getEntry (" other_point" );
721
- std::this_thread::sleep_for (std::chrono::milliseconds{5 });
721
+ std::this_thread::sleep_for (std::chrono::milliseconds{ 5 });
722
722
// Second tick should throw due to type mismatch
723
- EXPECT_THROW ({
724
- tree.tickExactlyOnce ();
725
- }, BT::LogicError);
723
+ EXPECT_THROW ({ tree.tickExactlyOnce (); }, BT::LogicError);
726
724
// EXPECT_EQ();
727
-
728
725
}
You can’t perform that action at this time.
0 commit comments