summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
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")