Skip to content

Commit

Permalink
fix the testing for the recent change in the deactivation scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
saikishor committed Oct 17, 2024
1 parent dd89180 commit 5a85a24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller_manager/test/test_controller_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ TEST_P(TestControllerManagerWithStrictness, async_controller_lifecycle)
"updating the counter";
std::this_thread::sleep_for(
std::chrono::milliseconds(1000 / (test_controller->get_update_rate())));
EXPECT_EQ(last_internal_counter + 1u, test_controller->internal_counter)
EXPECT_EQ(last_internal_counter, test_controller->internal_counter)
<< "Controller is stopped at the end of update, so it should have done one more update";
{
ControllerManagerRunner cm_runner(this);
Expand Down

0 comments on commit 5a85a24

Please sign in to comment.