Warning · Test quality
Impact
A detached, cancelled waiter can go unnoticed when the timer completes and the helper returns `False`.
Recommended action
Assert that the event waiter is pending before `set()` and completes successfully immediately afterward.