mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 14:49:32 +00:00
Fix endless test reruns
This commit is contained in:
parent
756beab8a6
commit
989b1f5f64
2 changed files with 3 additions and 2 deletions
3
.github/workflows/run-tests.yml
vendored
3
.github/workflows/run-tests.yml
vendored
|
|
@ -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 .
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue