From: sunilkumarn417 Date: Fri, 4 Sep 2020 13:47:53 +0000 (+0530) Subject: set max job time for system tests X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5d0047c0b1c9657d3cc70a395c986540208346b3;p=teuthology.git set max job time for system tests Signed-off-by: sunilkumarn417 --- diff --git a/teuthology/suite/__init__.py b/teuthology/suite/__init__.py index cfac622c4..03ec3d2a8 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)