You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test: Fix flaky event manager tests by replacing sleep with wait (#1830)
## Summary
- Replace `asyncio.sleep(0.1)` with
`event_manager.wait_for_all_listeners_to_complete()` in 5 event manager
tests
- The sleep-based approach was a race condition — under CI load
(parallel xdist workers), 100ms wasn't always enough for
`asyncio.to_thread()` to complete sync listeners
---
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments