mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix flaky test by increasing timeout
This commit is contained in:
parent
c60d2aa626
commit
8e8adece7e
1 changed files with 1 additions and 1 deletions
|
@ -456,7 +456,7 @@ def test_serverside_exception(temp_salt_minion, temp_salt_master):
|
|||
with MockSaltMinionMaster(temp_salt_minion, temp_salt_master) as minion_master:
|
||||
with patch.object(minion_master.mock, "_handle_payload_hook") as _mock:
|
||||
_mock.side_effect = salt.ext.tornado.gen.Return(({}, {"fun": "madeup-fun"}))
|
||||
ret = minion_master.channel.send({}, timeout=2, tries=1)
|
||||
ret = minion_master.channel.send({}, timeout=5, tries=1)
|
||||
assert ret == "Server-side exception handling payload"
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue