chore: added global timeout so any test would fail in case it is stuck and takes more than 3 minutes
This commit is contained in:
parent
1ba7ba31aa
commit
b3e6d49915
|
@ -161,9 +161,10 @@ pipeline {
|
|||
]) {
|
||||
/* Keep the --reruns flag first, or it won't work */
|
||||
sh """
|
||||
python3 -m pytest --reruns=1 ${flags.join(" ")} \
|
||||
python3 -m pytest --reruns=1 --timeout=180 ${flags.join(" ")} \
|
||||
--disable-warnings \
|
||||
--alluredir=./allure-results
|
||||
--alluredir=./allure-results \
|
||||
-o timeout_func_only=true
|
||||
"""
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue