From db2822a5bc58a2c02e657b00e551f66c9f1e2577 Mon Sep 17 00:00:00 2001 From: ko1 Date: Fri, 14 Apr 2017 18:19:37 +0000 Subject: [PATCH] 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 --- test/ruby/test_io.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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