Skip to content

Commit

Permalink
Improved parallel tox env resiliency
Browse files Browse the repository at this point in the history
  • Loading branch information
Nusnus committed Oct 14, 2023
1 parent 01aafda commit c4f28b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/pytest_celery/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
# Docker
##########

CONTAINER_TIMEOUT = 60
RESULT_TIMEOUT = 60


default_pytest_celery_network = network()

CONTAINER_TIMEOUT = 60
RESULT_TIMEOUT = 60

Check warning on line 51 in src/pytest_celery/defaults.py

View check run for this annotation

Codecov / codecov/patch

src/pytest_celery/defaults.py#L50-L51

Added lines #L50 - L51 were not covered by tests
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ setenv =
PYTHONDONTWRITEBYTECODE = 1
commands =
tox -e py311-unit,py311-integration,py311-smoke -p auto -o -- --exitfirst -n auto \
--reruns 15 --reruns-delay 10 --rerun-except AssertionError {posargs}
--reruns 30 --reruns-delay 3 --rerun-except AssertionError {posargs}

[testenv:mypy]
commands_pre =
Expand Down

0 comments on commit c4f28b4

Please sign in to comment.