File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -742,7 +742,7 @@ TEST(BlackboardTest, SetBlackboard_ChangeType1)
742742 const auto entry_ptr = blackboard->getEntry (" other_point" );
743743 std::this_thread::sleep_for (std::chrono::milliseconds{ 5 });
744744 // Second tick should throw due to type mismatch
745- EXPECT_THROW ({ tree.tickExactlyOnce (); }, BT::LogicError);
745+ EXPECT_THROW ({ tree.tickWhileRunning (); }, BT::LogicError);
746746}
747747
748748TEST (BlackboardTest, SetBlackboard_ChangeType2)
@@ -773,7 +773,7 @@ TEST(BlackboardTest, SetBlackboard_ChangeType2)
773773 const auto entry_ptr = blackboard->getEntry (" other_point" );
774774 std::this_thread::sleep_for (std::chrono::milliseconds{ 5 });
775775 // Second tick should throw due to type mismatch
776- EXPECT_THROW ({ tree.tickExactlyOnce (); }, BT::LogicError);
776+ EXPECT_THROW ({ tree.tickWhileRunning (); }, BT::LogicError);
777777}
778778
779779// Simple Action that updates an instance of Point in the blackboard
You can’t perform that action at this time.
0 commit comments