aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_io.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb
index c9b7de9181..3598634f22 100644
--- a/test/ruby/test_io.rb
+++ b/test/ruby/test_io.rb
@@ -3412,7 +3412,7 @@ __END__
end
end
q.pop
- sleep 0.1 # wait for blocking by r.gets
+ sleep 0.01 while thread.status != 'sleep'
r.close
assert_raise_with_message(IOError, /stream closed/) do
thread.join