summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-08-01 20:19:18 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-08-01 20:19:54 +0900
commit076f3fcf11a061394d3d5f8c671512df1e983023 (patch)
tree38da9719422bf99725f87e0fd750624df1295694
parentcb84824481f205d5c057fe2e31776d40a6b06c7c (diff)
Extend sleep before sending USR1 in TestProcess
because the test seems to hang there forever: https://travis-ci.org/ruby/ruby/jobs/566409880
-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 02efc168c2..68b07a1606 100644
--- a/test/ruby/test_process.rb
+++ b/test/ruby/test_process.rb
@@ -667,7 +667,7 @@ class TestProcess < Test::Unit::TestCase
end
EOS
assert_equal("start\n", io.gets)
- sleep 0.5
+ sleep 3
Process.kill(:USR1, io.pid)
assert_equal("ok\n", io.read)
}