mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 00:03:45 +08:00
test_models: sort messages by time (#34691)
Sort messages by time in test_models
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user