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)
683683 const auto entry_ptr = blackboard->getEntry (" other_point" );
684684 const auto ts1 = entry_ptr->stamp ;
685685 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 });
687687 tree.tickExactlyOnce ();
688688 const auto ts2 = entry_ptr->stamp ;
689689 const auto seq_id2 = entry_ptr->sequence_id ;
690-
690+
691691 ASSERT_GT (ts2.count (), ts1.count ());
692692 ASSERT_GT (seq_id2, seq_id1);
693693}
@@ -718,11 +718,8 @@ TEST(BlackboardTest, SetBlackboard_ChangeType)
718718 // First tick should succeed
719719 ASSERT_NO_THROW (tree.tickExactlyOnce ());
720720 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 });
722722 // Second tick should throw due to type mismatch
723- EXPECT_THROW ({
724- tree.tickExactlyOnce ();
725- }, BT::LogicError);
723+ EXPECT_THROW ({ tree.tickExactlyOnce (); }, BT::LogicError);
726724 // EXPECT_EQ();
727-
728725}
You can’t perform that action at this time.
0 commit comments