mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
Fix integration.client.test_kwarg test timeouts
This commit is contained in:
parent
77355e25fe
commit
899c80e723
1 changed files with 9 additions and 8 deletions
|
@ -86,13 +86,15 @@ class StdTest(ModuleCase):
|
||||||
'''
|
'''
|
||||||
terrible_yaml_string = 'foo: ""\n# \''
|
terrible_yaml_string = 'foo: ""\n# \''
|
||||||
ret = self.client.cmd_full_return(
|
ret = self.client.cmd_full_return(
|
||||||
'minion',
|
'minion',
|
||||||
'test.arg_type',
|
'test.arg_type',
|
||||||
['a', 1],
|
['a', 1],
|
||||||
timeout=self.TIMEOUT,
|
kwarg={
|
||||||
kwarg={'outer': {'a': terrible_yaml_string},
|
'outer': {'a': terrible_yaml_string},
|
||||||
'inner': 'value'}
|
'inner': 'value'
|
||||||
)
|
},
|
||||||
|
timeout=self.TIMEOUT,
|
||||||
|
)
|
||||||
data = ret['minion']['ret']
|
data = ret['minion']['ret']
|
||||||
self.assertIn(six.text_type.__name__, data['args'][0])
|
self.assertIn(six.text_type.__name__, data['args'][0])
|
||||||
self.assertIn('int', data['args'][1])
|
self.assertIn('int', data['args'][1])
|
||||||
|
@ -115,7 +117,6 @@ class StdTest(ModuleCase):
|
||||||
],
|
],
|
||||||
kwarg={
|
kwarg={
|
||||||
'quux': 'Quux',
|
'quux': 'Quux',
|
||||||
|
|
||||||
},
|
},
|
||||||
timeout=self.TIMEOUT,
|
timeout=self.TIMEOUT,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue