summaryrefslogtreecommitdiff
path: root/test/ruby/test_process.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_process.rb')
-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 755b9c665c..2e120ef9bb 100644
--- a/test/ruby/test_process.rb
+++ b/test/ruby/test_process.rb
@@ -633,9 +633,9 @@ class TestProcess < Test::Unit::TestCase
trap(:USR1) { print "trap\n" }
system("cat", :in => "fifo")
EOS
- sleep 0.5
+ sleep 1
Process.kill(:USR1, io.pid)
- sleep 0.1
+ sleep 1
File.write("fifo", "ok\n")
assert_equal("trap\nok\n", io.read)
}