From f49627c9ea3f2b7cb3694527cf0f69824e17425d Mon Sep 17 00:00:00 2001 From: administrator Date: Fri, 9 Aug 2024 11:32:02 +0300 Subject: [PATCH] disabling FPS & TF tests for ROS-CI --- realsense2_camera/test/live_camera/test_camera_fps_tests.py | 1 + realsense2_camera/test/live_camera/test_camera_tf_tests.py | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/realsense2_camera/test/live_camera/test_camera_fps_tests.py b/realsense2_camera/test/live_camera/test_camera_fps_tests.py index 467a98e0f..e3e66665c 100644 --- a/realsense2_camera/test/live_camera/test_camera_fps_tests.py +++ b/realsense2_camera/test/live_camera/test_camera_fps_tests.py @@ -63,6 +63,7 @@ modified to make it work, see py_rs_utils for more details. To check the fps, a value 'expected_fps_in_hz' has to be added to the corresponding theme ''' +@pytest.mark.skipif (os.getenv('RS_ROS_REGRESSION', "not found") == "not found",reason="Regression is not enabled, define RS_ROS_REGRESSION") @pytest.mark.parametrize("launch_descr_with_parameters", [ pytest.param(test_params_test_fps_d455, marks=pytest.mark.d455), pytest.param(test_params_test_fps_d415, marks=pytest.mark.d415), diff --git a/realsense2_camera/test/live_camera/test_camera_tf_tests.py b/realsense2_camera/test/live_camera/test_camera_tf_tests.py index 9b76aae0a..64350ff7f 100644 --- a/realsense2_camera/test/live_camera/test_camera_tf_tests.py +++ b/realsense2_camera/test/live_camera/test_camera_tf_tests.py @@ -76,7 +76,8 @@ 'enable_gyro': 'true', } @pytest.mark.parametrize("launch_descr_with_parameters", [ - pytest.param(test_params_tf_static_change_d455, marks=pytest.mark.d455), + #LRS-1181 [ROS2] To debug inconsistent TF (transform) test that fails on Jenkin 219 NUC on D455 + #pytest.param(test_params_tf_static_change_d455, marks=pytest.mark.d455), pytest.param(test_params_tf_static_change_d435i, marks=pytest.mark.d435i), pytest.param(test_params_tf_static_change_d415, marks=pytest.mark.d415), ],indirect=True) @@ -160,7 +161,8 @@ def process_data(self, themes, enable_infra1): 'tf_publish_rate': '1.1', } @pytest.mark.parametrize("launch_descr_with_parameters", [ - pytest.param(test_params_tf_d455, marks=pytest.mark.d455), + #LRS-1181 [ROS2] To debug inconsistent TF (transform) test that fails on Jenkin 219 NUC on D455 + #pytest.param(test_params_tf_d455, marks=pytest.mark.d455), pytest.param(test_params_tf_d435i, marks=pytest.mark.d435i), pytest.param(test_params_tf_d415, marks=pytest.mark.d415), ],indirect=True)