Skip to content

Commit

Permalink
Reduced "xdist" and "parallel" tox env reruns from 5 to 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Nusnus committed Sep 13, 2024
1 parent 5e29154 commit d6c58db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ commands_pre =
commands =
poetry run pytest tests --exitfirst \
-n auto --dist=loadscope \
--reruns 5 --rerun-except AssertionError \
--reruns 3 --reruns-delay 5 --rerun-except AssertionError \
{posargs}

[testenv:parallel]
Expand All @@ -68,7 +68,7 @@ commands_pre =
commands =
tox -e py312-unit,py312-integration,py312-smoke -p auto -o -- --exitfirst \
-n auto --dist=loadscope \
--reruns 5 --reruns-delay 60 --rerun-except AssertionError \
--reruns 3 --reruns-delay 10 --rerun-except AssertionError \
{posargs}

[testenv:mypy]
Expand Down

0 comments on commit d6c58db

Please sign in to comment.