Skip to content

Commit

Permalink
Extend sleep before sending USR1 in TestProcess
Browse files Browse the repository at this point in the history
just like 076f3fc.

This test also hanged on Travis osx
https://travis-ci.org/ruby/ruby/jobs/567547060
  • Loading branch information
k0kubun committed Aug 4, 2019
1 parent 164f1ac commit aaf69a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ruby/test_process.rb
Expand Up @@ -688,7 +688,7 @@ def test_execopts_redirect_open_fifo_interrupt_print
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")
Expand Down

0 comments on commit aaf69a8

Please sign in to comment.