Pass the timeout variable to the CLI when calling salt in tests

This commit is contained in:
Mike Place 2018-04-13 16:37:01 -06:00
parent 8f994e7cf9
commit b8990f5258
No known key found for this signature in database
GPG Key ID: 9136F4F13705CFD3

View File

@ -122,7 +122,7 @@ class ShellTestCase(TestCase, AdaptedConfigurationTestCaseMixin):
self.assertIn('minion', data)
'''
arg_str = '-c {0} {1}'.format(self.get_config_dir(), arg_str)
return self.run_script('salt', arg_str, with_retcode=with_retcode, catch_stderr=catch_stderr)
return self.run_script('salt', arg_str, with_retcode=with_retcode, catch_stderr=catch_stderr, timeout=timeout)
def run_ssh(self, arg_str, with_retcode=False, timeout=25,
catch_stderr=False, wipe=False, raw=False):