diff --git a/ros2param/test/test_verb_dump.py b/ros2param/test/test_verb_dump.py index 0704d3fc8..dfd4e94f8 100644 --- a/ros2param/test/test_verb_dump.py +++ b/ros2param/test/test_verb_dump.py @@ -28,6 +28,7 @@ import launch_testing.asserts import launch_testing.markers import launch_testing.tools +import launch_testing_ros.tools import pytest @@ -102,6 +103,9 @@ def setUpClass( proc_output, rmw_implementation ): + rmw_implementation_filter = launch_testing_ros.tools.basic_output_filter( + filtered_rmw_implementation=rmw_implementation + ) @contextlib.contextmanager def launch_param_dump_command(self, arguments): @@ -114,7 +118,8 @@ def launch_param_dump_command(self, arguments): output='screen' ) with launch_testing.tools.launch_process( - launch_service, param_dump_command_action, proc_info, proc_output + launch_service, param_dump_command_action, proc_info, proc_output, + output_filter=rmw_implementation_filter ) as param_dump_command: yield param_dump_command cls.launch_param_dump_command = launch_param_dump_command