Repository navigation
Commit a97dba8
Fix flaky test 'same bucket different addresses' by increasing yields
The test was experiencing race conditions on Windows where the waker would
execute before waiters had fully entered the blocked state. This caused the
test to be flaky - sometimes passing with woken=1, sometimes failing with
woken=0.
Increased the yield count from 10 to 100 iterations to ensure waiters have
sufficient time to block before the wake call, especially on Windows where
scheduler timing differs from Linux.
Co-authored-by: Lukáš Lalinský <[email protected]>1 parent 39e1372 commit a97dba8
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
384 | | - | |
| 384 | + | |
385 | 385 | | |
386 | | - | |
| 386 | + | |
387 | 387 | | |
388 | 388 | | |
389 | 389 | | |
| |||
0 commit comments