1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Extend sleep before sending USR1 in TestProcess

because the test seems to hang there forever:
https://travis-ci.org/ruby/ruby/jobs/566409880
This commit is contained in:
Takashi Kokubun 2019-08-01 20:19:18 +09:00
parent cb84824481
commit 076f3fcf11
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD

View file

@ -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)
}