Skip to content

Commit

Permalink
Allow -11 for move_group gtest fixture
Browse files Browse the repository at this point in the history
Signed-off-by: methylDragon <[email protected]>
  • Loading branch information
methylDragon committed Dec 30, 2024
1 parent 0c4d4d5 commit 03e0dc4
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,10 @@ def test_gtest_run_complete(self, gtest_node):
class TestGTestProcessPostShutdown(unittest.TestCase):
# Checks if the test has been completed with acceptable exit codes (successful codes)
def test_gtest_pass(self, proc_info, gtest_node):
launch_testing.asserts.assertExitCodes(proc_info, process=gtest_node)
launch_testing.asserts.assertExitCodes(
proc_info,
process=gtest_node,
# Allow -11 since ros2_control or warehouse_ros sometimes segfaults
# for unrelated reasons.
allowable_exit_codes=[0, -11],
)

0 comments on commit 03e0dc4

Please sign in to comment.