Skip to content

Commit

Permalink
suite: do not bail out if results.log is not around
Browse files Browse the repository at this point in the history
Signed-off-by: Kefu Chai <kchai@redhat.com>
  • Loading branch information
tchaikov committed Aug 3, 2018
1 parent c0084c8 commit 6476db9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion teuthology/suite/__init__.py
Expand Up @@ -111,7 +111,10 @@ def get_rerun_filters(name, statuses):

def get_rerun_conf(conf):
reporter = ResultsReporter()
subset, seed = reporter.get_rerun_conf(conf.rerun)
try:
subset, seed = reporter.get_rerun_conf(conf.rerun)
except IOError:
return None, -1
if seed < 0:
return conf.subset, conf.seed
if conf.seed < 0:
Expand Down

0 comments on commit 6476db9

Please sign in to comment.