Skip to content

Commit

Permalink
Allow exit code -11
Browse files Browse the repository at this point in the history
  • Loading branch information
sea-bass committed Nov 22, 2024
1 parent 27d9d56 commit b3309b3
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,7 @@ def generate_test_description():
panda_arm_controller_spawner = launch_ros.actions.Node(
package="controller_manager",
executable="spawner",
arguments=[
"panda_arm_controller",
"--controller-manager",
"/controller_manager",
],
output="screen",
arguments=["panda_arm_controller", "-c", "/controller_manager"],
)

psm_gtest = launch_ros.actions.Node(
Expand Down Expand Up @@ -93,5 +88,6 @@ def test_gtest_run_complete(self, psm_gtest):
@launch_testing.post_shutdown_test()
class TestGTestProcessPostShutdown(unittest.TestCase):
# Checks if the test has been completed with acceptable exit codes (successful codes)
# NOTE: This test currently terminates with exit code 11, need to look into this.
def test_gtest_pass(self, proc_info, psm_gtest):
launch_testing.asserts.assertExitCodes(proc_info, process=psm_gtest)
launch_testing.asserts.assertExitCodes(proc_info, process=psm_gtest, allowable_exit_codes=[-11])

0 comments on commit b3309b3

Please sign in to comment.