Skip to content

Commit

Permalink
Fix unit test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
dwoz committed Jan 22, 2025
1 parent 70a0d86 commit 8ce23a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/pytests/unit/test_minion.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 8ce23a7

Please sign in to comment.