]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
set max job time for system tests
authorsunilkumarn417 <sunnagar@redhat.com>
Fri, 4 Sep 2020 13:47:53 +0000 (19:17 +0530)
committersunilkumarn417 <sunnagar@redhat.com>
Thu, 24 Sep 2020 05:19:04 +0000 (10:49 +0530)
Signed-off-by: sunilkumarn417 <sunnagar@redhat.com>
teuthology/suite/__init__.py

index cfac622c4fa2a0c9300d8193eaa5ab4ed7ab6809..03ec3d2a83619e3ed48d338d379fac2b1ccedd1e 100644 (file)
@@ -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)