"test" is not necessarily in opts, for thorium

This commit is contained in:
Joseph Hall 2016-12-06 10:44:16 -07:00
parent f8c67a9598
commit 5edc16f606

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):