Fix failhard causing test=True to failhard too soon

This commit is contained in:
Thomas S Hatch 2016-09-06 12:32:01 -06:00
parent a86e36cd31
commit 9b36904149

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