Skip to content

Commit

Permalink
test timing
Browse files Browse the repository at this point in the history
  • Loading branch information
Aron Svastits committed Apr 15, 2024
1 parent 0c1ef9e commit 6511bbb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions kuka_kss_rsi_driver/test/test_driver_activation.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def generate_test_description():
)
),
launch.actions.TimerAction(
period=5.0,
period=10.0,
actions=[
launch.actions.ExecuteProcess(
cmd=["ros2", "lifecycle", "set", "robot_manager", "configure"],
Expand All @@ -61,7 +61,7 @@ def generate_test_description():
],
),
launch.actions.TimerAction(
period=10.0,
period=15.0,
actions=[
launch.actions.ExecuteProcess(
cmd=["ros2", "lifecycle", "set", "robot_manager", "activate"],
Expand All @@ -86,5 +86,5 @@ def test_read_stdout(self, proc_output):
"Setting component 'kr6_r700_sixx' to 'unconfigured' state.", timeout=5
)
# Check for successful configuration and activation
proc_output.assertWaitFor("Successful 'configure' of hardware 'kr6_r700_sixx'", timeout=10)
proc_output.assertWaitFor("Successful 'activate' of hardware 'kr6_r700_sixx'", timeout=15)
proc_output.assertWaitFor("Successful 'configure' of hardware 'kr6_r700_sixx'", timeout=15)
proc_output.assertWaitFor("Successful 'activate' of hardware 'kr6_r700_sixx'", timeout=20)

0 comments on commit 6511bbb

Please sign in to comment.