Proofline

If `_async_wait_for_event` regresses to returning `False` without calling the patched `async_wait`, the assertion passes and the test awaits `sender` indefinitely.

thekarannagpal/sdk-python#1Reviewed commit 7533b73

Warning · Resource lifecycle

Impact

The regression hangs the test instead of reporting missing registration.

Recommended action

Bound the wait for `sender`, and cancel and await it in a `finally` block.

Cited code

Checked
Pull request code. The environment was not checked.
Status
Completed
Started
Completed