test_models: don't skip test cases with multiple pytest jobs (#28953)

* Update test_models.py

* Update selfdrive/car/tests/test_models.py

* Update selfdrive/car/tests/test_models.py
old-commit-hash: f6390c6e40
beeps
Shane Smiskol 2 years ago committed by GitHub
parent 718fabb4d5
commit ce88b7cf51
  1. 2
      selfdrive/car/tests/test_models.py

@ -39,7 +39,7 @@ for r in routes:
test_cases: List[Tuple[str, Optional[CarTestRoute]]] = []
for i, c in enumerate(sorted(all_known_cars())):
if i % NUM_JOBS == JOB_ID:
test_cases.extend((c, r) for r in routes_by_car.get(c, (None, )))
test_cases.extend(sorted((c, r) for r in routes_by_car.get(c, (None, ))))
SKIP_ENV_VAR = "SKIP_LONG_TESTS"

Loading…
Cancel
Save