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]
name: Integration test
runs-on: ubuntu-24.04
timeout-minutes: 30
services:
redis:
@ -147,4 +148,4 @@ jobs:
run: |
./nitter &
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"
[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"