You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shut down context during init if logging config fails (#2594)
We already do this clean-up if some other tasks below fail.
Before:
[ RUN ] TestUtilities.test_context_init_shutdown_fails
[ERROR] [1722555370.075637014] [rclcpp]: rcl context unexpectedly not shutdown during cleanup
[WARN] [1722555370.077175569] [rclcpp]: logging was initialized more than once
[ OK ] TestUtilities.test_context_init_shutdown_fails (3 ms)
After:
[ RUN ] TestUtilities.test_context_init_shutdown_fails
[WARN] [1722555108.693207861] [rclcpp]: logging was initialized more than once
[ OK ] TestUtilities.test_context_init_shutdown_fails (3 ms)
Also, remove an unnecessary line in `test_utilities`, and expect context
to not be valid if init fails.
Signed-off-by: Christophe Bedard <christophe.bedard@apex.ai>
0 commit comments