summaryrefslogtreecommitdiff
path: root/test/ruby/test_io.rb
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-14 18:19:37 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-14 18:19:37 +0000
commitdb2822a5bc58a2c02e657b00e551f66c9f1e2577 (patch)
treebbd17b8078a0e6af4941509588122b24e98ece41 /test/ruby/test_io.rb
parent2ad7a741c092d9b4c9a9035ef132de23145bd8e9 (diff)
sync certainly.
* test/ruby/test_io.rb (test_race_closed_stream): awit for 'sleep' state. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_io.rb')
-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