Fix endless test reruns

This commit is contained in:
Zed 2026-08-13 22:43:59 +07:00
commit 989b1f5f64
2 changed files with 3 additions and 2 deletions

View file

@ -62,6 +62,7 @@ jobs:
needs: [build-test] needs: [build-test]
name: Integration test name: Integration test
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04
timeout-minutes: 30
services: services:
redis: redis:
@ -147,4 +148,4 @@ jobs:
run: | run: |
./nitter & ./nitter &
cd tests cd tests
poetry run pytest -n3 --reruns=5 --rs . poetry run pytest -n3 --rs .

View file

@ -8,4 +8,4 @@ python = "^3.14"
seleniumbase = "4.46.5" seleniumbase = "4.46.5"
[tool.pytest.ini_options] [tool.pytest.ini_options]
addopts = "--pls=eager --reruns=5 --timeout_multiplier=5" addopts = "--pls=eager --reruns=2 --only-rerun=timeout --only-rerun=Timeout --only-rerun=Connection --timeout_multiplier=5"