Skip to content

Commit

Permalink
ENH: add timeout of 300 (5 minutes) to any test running
Browse files Browse the repository at this point in the history
We recently started to encounter stalling test runs which lead to hours of
stalled operation.  Hopefully this would lead to failed test instead of a stall
  • Loading branch information
yarikoptic committed May 3, 2024
1 parent 260b4d7 commit 659c237
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ test =
pytest-cov
pytest-mock
pytest-rerunfailures
pytest-timeout
responses != 0.24.0
vcrpy
tools=
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ changedir = docs
commands = sphinx-build -E -W -b html source build

[pytest]
addopts = --tb=short --durations=10
addopts = --tb=short --durations=10 --timeout=300
markers =
integration
obolibrary
Expand Down

0 comments on commit 659c237

Please sign in to comment.