Skip to content

Commit

Permalink
restore rclcpp:shutdown()
Browse files Browse the repository at this point in the history
Without the shutdown: The tests are passing in `RUN_ALL_TESTS()`, the test itself is failing with timeout. Most probably because `server_thread.join()` hangs forever.
  • Loading branch information
adivardi committed Dec 2, 2024
1 parent 5ff83b3 commit 84d85c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opennav_coverage_bt/test/test_compute_coverage_path.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ int main(int argc, char ** argv)
int all_successful = RUN_ALL_TESTS();

// shutdown ROS
// rclcpp::shutdown();
rclcpp::shutdown();
server_thread.join();

return all_successful;
Expand Down

0 comments on commit 84d85c8

Please sign in to comment.