mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Extend sleep before sending USR1 in TestProcess
just like 076f3fcf11
.
This test also hanged on Travis osx
https://travis-ci.org/ruby/ruby/jobs/567547060
This commit is contained in:
parent
164f1ac0e9
commit
aaf69a8ba8
1 changed files with 1 additions and 1 deletions
|
@ -688,7 +688,7 @@ class TestProcess < Test::Unit::TestCase
|
|||
system("cat", :in => "fifo")
|
||||
EOS
|
||||
assert_equal("start\n", io.gets)
|
||||
sleep 0.2 # wait for the child to stop at opening "fifo"
|
||||
sleep 3 # wait for the child to stop at opening "fifo"
|
||||
Process.kill(:USR1, io.pid)
|
||||
assert_equal("trap\n", io.readpartial(8))
|
||||
File.write("fifo", "ok\n")
|
||||
|
|
Loading…
Reference in a new issue