Merge pull request #36078 from thatch45/failhard_test

Failhard test=True fix
This commit is contained in:
Mike Place 2016-09-07 14:10:35 +09:00 committed by GitHub
commit 48dc5ad4ee

View file

@ -1809,6 +1809,8 @@ class State(object):
tag = _gen_tag(low)
if (low.get('failhard', False) or self.opts['failhard']
and tag in running):
if running[tag]['result'] is None:
return False
return not running[tag]['result']
return False