Limit test execution time (#5484)
This should protect us from unnoticed hangs, which happen sometimes and waste CI and developer time. Currently, the limit is 15s per test, which should be enough in normal conditions.main
parent
4fdac63739
commit
37b685f47a
@ -1,2 +1,6 @@
|
||||
[pytest]
|
||||
required_plugins = pytest-timeout
|
||||
addopts = --verbose --capture=tee-sys
|
||||
# We expect no regular individual test to run too long
|
||||
# can be overridden for specific tests with a test decorator
|
||||
timeout = 15
|
||||
|
||||
Loading…
Reference in New Issue