Commit dd32ec3
committed
Fix race condition in TestIOWait#test_wait
Replace `sleep 0.1` with `IO.select([@r])` to reliably wait for data
to arrive before asserting readability with a zero timeout. The fixed
sleep was insufficient on slow Windows CI runners, causing sporadic
failures. This matches the approach already used in test_wait_readable.1 parent 7c3806b commit dd32ec3
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
0 commit comments