Skip to content

Commit

Permalink
trio: fix test_server(), add new returncode for timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxmaniac authored and goodboy committed Dec 20, 2022
1 parent 8146211 commit 2e93c9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def test_server():
# test client failure on bad remote destination
(agent.client(destaddr=("99.99.99.99", 5060)), 1, {}, RuntimeError),
# test if server times out it is signalled
(agent.server(), 0, {"timeout": 1}, launch.TimeoutError),
(agent.server(), -9, {"timeout": 1}, launch.TimeoutError),
],
ids=["ua", "uac", "uas"],
)
Expand Down

0 comments on commit 2e93c9a

Please sign in to comment.