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:
parent
9f5a468cf9
commit
b3a9fd0d1f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue