From 5d0047c0b1c9657d3cc70a395c986540208346b3 Mon Sep 17 00:00:00 2001 From: sunilkumarn417 Date: Fri, 4 Sep 2020 19:17:53 +0530 Subject: [PATCH] set max job time for system tests Signed-off-by: sunilkumarn417 --- teuthology/suite/__init__.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/teuthology/suite/__init__.py b/teuthology/suite/__init__.py index cfac622c4f..03ec3d2a83 100644 --- a/teuthology/suite/__init__.py +++ b/teuthology/suite/__init__.py @@ -141,8 +141,14 @@ def main(args): run = Run(conf) name = run.name run.prepare_and_schedule() + + # set max job time for system tests + max_job_time = config.max_job_time + if 'system-tests' in conf.suite.split(":"): + max_job_time = 30 * 24 * 3600 + if not conf.dry_run and conf.wait: - return wait(name, config.max_job_time, + return wait(name, max_job_time, conf.archive_upload_url) -- 2.39.5