ruby-changes:57468
From: Yusuke <ko1@a...>
Date: Sun, 1 Sep 2019 23:39:24 +0900 (JST)
Subject: [ruby-changes:57468] Yusuke Endoh: 007d6d15f4 (master): test/drb/drbtest.rb: Use EnvUtil.timeout for timeout scale factor
https://git.ruby-lang.org/ruby.git/commit/?id=007d6d15f4 From 007d6d15f4aeea266d4d88e0541ab45a34a1dcd4 Mon Sep 17 00:00:00 2001 From: Yusuke Endoh <mame@r...> Date: Sun, 1 Sep 2019 23:29:39 +0900 Subject: test/drb/drbtest.rb: Use EnvUtil.timeout for timeout scale factor 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 https://github.com/ruby/ruby/blob/trunk/test/drb/drbtest.rb#L35 attr_reader :server def ext_service(name) - Timeout.timeout(100, RuntimeError) do + EnvUtil.timeout(100, RuntimeError) do manager.service(name) end end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/