From 0c411a68329caf950a731569ed357b4fee06d72a Mon Sep 17 00:00:00 2001 From: Steven Palma Date: Wed, 21 May 2025 16:12:40 +0200 Subject: [PATCH] [skip ci] doc(tests): add comment related to test duration --- tests/cameras/test_realsense.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/cameras/test_realsense.py b/tests/cameras/test_realsense.py index e0662fb2e..4fd575379 100644 --- a/tests/cameras/test_realsense.py +++ b/tests/cameras/test_realsense.py @@ -36,8 +36,7 @@ except (ImportError, ModuleNotFoundError, NameError): TEST_ARTIFACTS_DIR = Path(__file__).parent.parent / "artifacts" / "cameras" BAG_FILE_PATH = TEST_ARTIFACTS_DIR / "test_rs.bag" -# NOTE(Steven): Takes 20sec, the patch being the biggest bottleneck - +# NOTE(Steven): For some reason these tests take ~20sec in macOS but only ~2sec in Linux. def mock_rs_config_enable_device_from_file(rs_config_instance, _sn): return rs_config_instance.enable_device_from_file(str(BAG_FILE_PATH), repeat_playback=True)