mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
skip all failhards if test=True
This commit is contained in:
parent
b586ed75bd
commit
e13d61f06a
@ -1807,6 +1807,8 @@ class State(object):
|
||||
Check if the low data chunk should send a failhard signal
|
||||
'''
|
||||
tag = _gen_tag(low)
|
||||
if self.opts['test']:
|
||||
return False
|
||||
if (low.get('failhard', False) or self.opts['failhard']
|
||||
and tag in running):
|
||||
if running[tag]['result'] is None:
|
||||
|
Loading…
Reference in New Issue
Block a user