summaryrefslogtreecommitdiff
path: root/test/ruby/test_process.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-08-04 23:41:33 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-08-04 23:41:34 +0900
commitaaf69a8ba866193863a7eafe5c6044844bd71bc3 (patch)
tree7c76fe48e2208af93bd38296e8b3154249a202b0 /test/ruby/test_process.rb
parent164f1ac0e994b3b2937ace5c77192c63a489a962 (diff)
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
Diffstat (limited to 'test/ruby/test_process.rb')
-rw-r--r--test/ruby/test_process.rb2
1 files changed, 1 insertions, 1 deletions
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")