Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the ros2param --filter test more reliable #606

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion ros2param/test/test_verb_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import launch_testing
import launch_testing.actions
import launch_testing.asserts
import launch_testing.markers
import launch_testing.tools
import launch_testing_ros.tools

Expand Down Expand Up @@ -185,6 +186,7 @@ def test_verb_list(self):
strict=True
)

@launch_testing.markers.retry_on_failure(times=5, delay=1)
def test_verb_list_filter(self):
with self.launch_param_list_command(
arguments=[f'{TEST_NAMESPACE}/{TEST_NODE}', '--filter', 'bool.*']
Expand All @@ -197,4 +199,4 @@ def test_verb_list_filter(self):
' bool_param'],
text=param_list_command.output,
strict=True
)
), f'actual output: {param_list_command.output}'