]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
teuthology/suite: use specified seed and subset if results.log is not readable
authorKefu Chai <kchai@redhat.com>
Mon, 10 Sep 2018 15:23:59 +0000 (23:23 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 10 Sep 2018 15:23:59 +0000 (23:23 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
teuthology/suite/__init__.py

index 60274b4bced7717a05cecbc4a1a5d67da3541546..08c585ae99ed388b03607c6aaf42754c463ef554 100644 (file)
@@ -114,7 +114,7 @@ def get_rerun_conf(conf):
     try:
         subset, seed = reporter.get_rerun_conf(conf.rerun)
     except IOError:
-        return None, None
+        return conf.subset, conf.seed
     if seed is None:
         return conf.subset, conf.seed
     if conf.seed < 0: