forked from tangger/lerobot
[skip ci] doc(tests): add comment related to test duration
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user