Takashi Kokubun dea0cae04a
[ruby/io-wait] 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.

https://github.com/ruby/io-wait/commit/dd32ec3682
2026-05-07 09:28:48 +09:00
..