From aaf69a8ba866193863a7eafe5c6044844bd71bc3 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Sun, 4 Aug 2019 23:41:33 +0900 Subject: Extend sleep before sending USR1 in TestProcess just like 076f3fcf11a061394d3d5f8c671512df1e983023. This test also hanged on Travis osx https://travis-ci.org/ruby/ruby/jobs/567547060 --- test/ruby/test_process.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby/test_process.rb') diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index 68b07a1606..c51f802505 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -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") -- cgit v1.2.3