From 58308899151ee3d49f8d9ef5c4e8d108d8822525 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sun, 26 May 2019 18:24:06 +0900 Subject: test/ruby/test_notimp.rb: Use EnvUtil.timeout for timeout scale factor --- test/ruby/test_notimp.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ruby/test_notimp.rb b/test/ruby/test_notimp.rb index 1f36030991..b069154cfc 100644 --- a/test/ruby/test_notimp.rb +++ b/test/ruby/test_notimp.rb @@ -36,7 +36,7 @@ class TestNotImplement < Test::Unit::TestCase proc {`ps -l #{pid}`} end assert_nothing_raised(Timeout::Error, ps) do - Timeout.timeout(EnvUtil.apply_timeout_scale(20)) { + EnvUtil.timeout(20) { pid = fork {} Process.wait pid pid = nil -- cgit v1.2.3