1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Delay signal bit more.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2015-04-11 09:00:39 +00:00
parent 3d2468240d
commit 8e7b572d97

View file

@ -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")