summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-05-26 18:24:06 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-05-26 18:24:06 +0900
commit58308899151ee3d49f8d9ef5c4e8d108d8822525 (patch)
tree2d2ce5a03b479ea30034bad3121056d35109ff31
parent2df2cdcff0b0358ebc98a43181b5271632563a68 (diff)
test/ruby/test_notimp.rb: Use EnvUtil.timeout for timeout scale factor
-rw-r--r--test/ruby/test_notimp.rb2
1 files changed, 1 insertions, 1 deletions
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