Warning · Error handling
Impact
If waiter registration is bypassed, the test can take 100 seconds to fail instead of reporting the registration timeout promptly.
Recommended action
On registration timeout, record the failure and set the cancellation event, then report the failure on the test thread after joining.