Pytest: enforce a default timeout (#29793)

* pytest: enforce default timeout

* disable that for now

* 30 second timeout on tests
old-commit-hash: b0a71d4553
This commit is contained in:
Justin Newberry
2023-09-07 17:53:51 -07:00
committed by GitHub
parent 268337f32b
commit 5b1e60f5da
3 changed files with 4 additions and 2 deletions

View File

@@ -249,7 +249,7 @@ jobs:
timeout-minutes: 40
run: |
${{ env.RUN }} "export SKIP_LONG_TESTS=1 && \
$PYTEST -n auto --dist=loadscope && \
$PYTEST -n auto --dist=loadscope --timeout 30 && \
selfdrive/locationd/test/_test_locationd_lib.py && \
./system/ubloxd/tests/test_glonass_runner && \
./selfdrive/ui/tests/create_test_translations.sh && \