Skip to content

Commit

Permalink
Prevent cancellation of task with timeout in asyncio runner. (project…
Browse files Browse the repository at this point in the history
…-chip#35045)

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
2 people authored and PeterC1965 committed Aug 28, 2024
1 parent 546d74c commit 2d76ecb
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 2d76ecb

Please sign in to comment.