summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-04-11 09:00:39 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-04-11 09:00:39 +0000
commit8e7b572d97f0a19a8467f3a299d72c49ba51a293 (patch)
treebf4af5c27ccf373fbd822f0bf03988d0878f5fb1 /test
parent3d2468240d7b90a83db0429c4d5ef384dffd6347 (diff)
Delay signal bit more.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_process.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb
index 28e8f9f5a98..e682f851cbe 100644
--- a/test/ruby/test_process.rb
+++ b/test/ruby/test_process.rb
@@ -587,7 +587,7 @@ class TestProcess < Test::Unit::TestCase
puts "ok"
end
EOS
- sleep 0.1
+ sleep 0.5
Process.kill(:USR1, io.pid)
assert_equal("ok\n", io.read)
}
@@ -602,7 +602,7 @@ class TestProcess < Test::Unit::TestCase
trap(:USR1) { print "trap\n" }
system("cat", :in => "fifo")
EOS
- sleep 0.1
+ sleep 0.5
Process.kill(:USR1, io.pid)
sleep 0.1
File.write("fifo", "ok\n")