Merge pull request #38106 from techhat/stateget

"test" is not necessarily in opts, for thorium
This commit is contained in:
Mike Place 2016-12-19 07:40:31 -07:00 committed by GitHub
commit 4d072ca689

View file

@ -1818,7 +1818,7 @@ class State(object):
Check if the low data chunk should send a failhard signal
'''
tag = _gen_tag(low)
if self.opts['test']:
if self.opts.get('test', False):
return False
if (low.get('failhard', False) or self.opts['failhard']
and tag in running):