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

apply timeout scale

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2017-05-27 02:01:41 +00:00
parent 9f5a468cf9
commit b3a9fd0d1f

View file

@ -36,7 +36,7 @@ class TestNotImplement < Test::Unit::TestCase
proc {`ps -l #{pid}`}
end
assert_nothing_raised(Timeout::Error, ps) do
Timeout.timeout(5) {
Timeout.timeout(EnvUtil.apply_timeout_scale(5)) {
pid = fork {}
Process.wait pid
pid = nil