Warning · Test quality
Impact
The assertions still pass if the real sync waiter stops recording notifications from a previously captured `event.set`.
Recommended action
Keep the real waiter, invoke the captured setter during the wait, and assert that delivery was recorded before the cutoff without writing the timestamp in the test.