From b3e6d499158a1ed6d38d474cd59d8ead45d8fe3b Mon Sep 17 00:00:00 2001 From: Valentina Novgorodtceva Date: Fri, 21 Jun 2024 13:18:16 +0700 Subject: [PATCH] chore: added global timeout so any test would fail in case it is stuck and takes more than 3 minutes --- ci/Jenkinsfile.tests-e2e | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ci/Jenkinsfile.tests-e2e b/ci/Jenkinsfile.tests-e2e index eb1f138d90..1410ffd1bc 100644 --- a/ci/Jenkinsfile.tests-e2e +++ b/ci/Jenkinsfile.tests-e2e @@ -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 """ } }