mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
Fix unit test failures
This commit is contained in:
parent
e1056ccf39
commit
d714a112b5
1 changed files with 3 additions and 3 deletions
|
@ -162,11 +162,11 @@ async def test_send_req_async_regression_62453(minion_opts):
|
|||
minion = salt.minion.Minion(minion_opts)
|
||||
|
||||
load = {"load": "value"}
|
||||
timeout = 60
|
||||
timeout = 1
|
||||
|
||||
# We are just validating no exception is raised
|
||||
rtn = await minion._send_req_async(load, timeout)
|
||||
assert rtn is False
|
||||
with pytest.raises(TimeoutError):
|
||||
rtn = await minion._send_req_async(load, timeout)
|
||||
|
||||
|
||||
def test_mine_send_tries(minion_opts):
|
||||
|
|
Loading…
Add table
Reference in a new issue