Skip to content

Commit

Permalink
Prevent cancellation of task with timeout in asyncio runner. (#35045)
Browse files Browse the repository at this point in the history
I am yet unclear why on new python/os/websocket we do not get
a timeout error, however from what I could tell, wait_for would
cancel the websocket.recv and that stops instead of throwing
a timeout exception, resulting in a full success result.

Making this change seems to make the test TestPurposefulFailureExtraReportingOnToggle
pass on my machine (well ... fail as expected instead of passing with a
successful stop)

Co-authored-by: Andrei Litvin <[email protected]>
  • Loading branch information
andy31415 and andreilitvin authored Aug 17, 2024
1 parent cd04522 commit 44456d7
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 44456d7

Please sign in to comment.