summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2019-09-01 14:29:39 (GMT)
committerYusuke Endoh <mame@ruby-lang.org>2019-09-01 14:29:39 (GMT)
commit007d6d15f4aeea266d4d88e0541ab45a34a1dcd4 (patch)
tree49da1d90745406420722dc72edf2b7e068f6c465
parent188c2b67c9365fcf75a595186d95c325f06b9182 (diff)
test/drb/drbtest.rb: Use EnvUtil.timeout for timeout scale factor
-rw-r--r--test/drb/drbtest.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/drb/drbtest.rb b/test/drb/drbtest.rb
index 05fb1b9..d764bc7 100644
--- a/test/drb/drbtest.rb
+++ b/test/drb/drbtest.rb
@@ -35,7 +35,7 @@ class DRbService
attr_reader :server
def ext_service(name)
- Timeout.timeout(100, RuntimeError) do
+ EnvUtil.timeout(100, RuntimeError) do
manager.service(name)
end
end