7e27a2f89b
Replace `await anyio.sleep(0.5)` in both `test_bidirectional_progress_notifications` and `test_progress_context_manager` with `anyio.Event` primitives that fire when the expected number of progress updates have been received by the server. The events are protected by `fail_after(5)` for safety.