Commit 424162b
fix: replace sleep with asyncio.Event in cancellation test
The timing-based sleep(0.01) synchronization could be flaky on
slow CI. Now uses an asyncio.Event for deterministic task
coordination.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 85269e2 commit 424162b
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
| 108 | + | |
107 | 109 | | |
108 | 110 | | |
109 | 111 | | |
110 | | - | |
| 112 | + | |
111 | 113 | | |
112 | 114 | | |
113 | 115 | | |
| |||
0 commit comments