Increase function timeout

This commit is contained in:
Daniel A. Wozniak 2018-09-20 09:30:17 -06:00
parent ed4de6385d
commit 536fce611f
No known key found for this signature in database
GPG Key ID: 166B9D2C06C82D61

View File

@ -781,7 +781,7 @@ class ModuleCase(TestCase, SaltClientTestCaseMixin):
''' '''
return self.run_function(_function, args, **kw) return self.run_function(_function, args, **kw)
def run_function(self, function, arg=(), minion_tgt='minion', timeout=120, **kwargs): def run_function(self, function, arg=(), minion_tgt='minion', timeout=300, **kwargs):
''' '''
Run a single salt function and condition the return down to match the Run a single salt function and condition the return down to match the
behavior of the raw function call behavior of the raw function call