From 66425a61c9dd9c7ffaf91bb73da8e9ba59228941 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20R=C4=85czy?= Date: Sun, 23 Feb 2025 13:14:18 -0800 Subject: [PATCH] test_models: sort messages by time (#34691) Sort messages by time in test_models --- selfdrive/car/tests/test_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/car/tests/test_models.py b/selfdrive/car/tests/test_models.py index 922bb96a35..90d073dd29 100644 --- a/selfdrive/car/tests/test_models.py +++ b/selfdrive/car/tests/test_models.py @@ -126,7 +126,7 @@ class TestCarModelBase(unittest.TestCase): try: source = partial(auto_source, sources=[internal_source, internal_source_zst] if len(INTERNAL_SEG_LIST) else \ [openpilotci_source_zst, openpilotci_source, comma_api_source]) - lr = LogReader(segment_range, source=source) + lr = LogReader(segment_range, source=source, sort_by_time=True) return cls.get_testing_data_from_logreader(lr) except (LogsUnavailable, AssertionError): pass