summaryrefslogtreecommitdiff
path: root/bootstraptest
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-09-04 05:28:38 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-09-04 05:28:38 (GMT)
commitfb7a5690771fbf9f103887a86b9d82051cb25876 (patch)
treea65d850a1408de3115e3720a000d88648e092f39 /bootstraptest
parent3fa8d5ba7bb4d380ab61684dfa048f2e7eb4c570 (diff)
bootstraptest update test_io.rb [Bug #15060] [Fix GH-1495]
From: MSP-Greg <greg.mpls@gmail.com> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/test_io.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/bootstraptest/test_io.rb b/bootstraptest/test_io.rb
index 731c3e4..89c00d0 100644
--- a/bootstraptest/test_io.rb
+++ b/bootstraptest/test_io.rb
@@ -30,11 +30,11 @@ assert_finish 10, %q{
end
}, '[ruby-dev:32566]'
-assert_finish 2, %q{
+assert_finish 1, %q{
r, w = IO.pipe
- Thread.new(Thread.current) { |parent|
+ Thread.new {
w << "ab"
- Thread.pass until parent.stop?
+ sleep 0.01
w << "ab"
}
r.gets("abab")