Skip to content

Commit

Permalink
Handle launch_testing assertExitCodes correctly (ros2#193)
Browse files Browse the repository at this point in the history
Signed-off-by: ivanpauno <ivanpauno@ekumenlabs.com>
Signed-off-by: Dhananjay Sathe <dhananjay.sathe@rapyuta-robotics.com>
  • Loading branch information
ivanpauno authored and dhananjaysathe committed Aug 22, 2019
1 parent c2dda68 commit c102806
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/test_services_across_dynamic_bridge.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,8 @@ class TestServicesAcrossDynamicBridgeAfterShutdown(unittest.TestCase):
"""Test that both executables finished gracefully."""
launch_testing.asserts.assertExitCodes(proc_info, process=rosbridge_process)
launch_testing.asserts.assertExitCodes(proc_info, process=server_process)
launch_testing.asserts.assertExitCodes(proc_info, process=client_process)
launch_testing.asserts.assertExitCodes(
proc_info,
[launch_testing.asserts.EXIT_OK],
client_process
)

0 comments on commit c102806

Please sign in to comment.