aboutsummaryrefslogtreecommitdiffstats
path: root/test/drb/ut_drb.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/drb/ut_drb.rb')
-rw-r--r--test/drb/ut_drb.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/drb/ut_drb.rb b/test/drb/ut_drb.rb
index c2a5f62331..0dd0988a7d 100644
--- a/test/drb/ut_drb.rb
+++ b/test/drb/ut_drb.rb
@@ -53,7 +53,7 @@ class DRbEx
end
def do_timeout(n)
- timeout(0.1) do
+ Timeout.timeout(0.1) do
n.sleep(2)
end
end