summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2019-12-19 08:27:57 +0100
committerJürg Billeter <j@bitron.ch>2019-12-19 08:40:04 +0100
commit2d63e536faf164a45d565186028ce2d0b291f431 (patch)
tree81d3ae29c7714e4e4d9413d9ecdc42106193f547
parentd1d898bdc60dc35ff618039775d53bb96774b836 (diff)
downloadbuildstream-juerg/pytest-timeout.tar.gz
setup.cfg: Set pytest default timeoutjuerg/pytest-timeout
This sets a default timeout of 15 minutes for tests to avoid hanging indefinitely. As the slowest test in CI normally takes less than 5 minutes, the timeout should be long enough to not trigger even on slower systems if everything operates normally.
-rw-r--r--setup.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.cfg b/setup.cfg
index 363758652..76670ea3e 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -11,7 +11,7 @@ parentdir_prefix = BuildStream-
test=pytest
[tool:pytest]
-addopts = --verbose --basetemp ./tmp --durations=20
+addopts = --verbose --basetemp ./tmp --durations=20 --timeout=900
norecursedirs = tests/integration/project integration-cache tmp __pycache__ .eggs
python_files = tests/*/*.py
env =