From a9fefe7555a43152b21c589a2582ba212ece4d82 Mon Sep 17 00:00:00 2001 From: usa Date: Thu, 20 Sep 2012 01:59:52 +0000 Subject: * test/drb/ut_drb.rb: revert a part of r36987, and get rid of a warning with another method. if the substitution is removed, the ExtSrv object will be GC'ed and some tests will be blocked. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/drb/ut_drb.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/drb/ut_drb.rb') diff --git a/test/drb/ut_drb.rb b/test/drb/ut_drb.rb index da4ca10791..c6cc0590f1 100644 --- a/test/drb/ut_drb.rb +++ b/test/drb/ut_drb.rb @@ -157,6 +157,7 @@ if __FILE__ == $0 DRb::DRbServer.default_argc_limit(8) DRb::DRbServer.default_load_limit(4096) DRb.start_service('druby://localhost:0', DRbEx.new) - DRb::ExtServ.new(ARGV.shift, ARGV.shift) + es = DRb::ExtServ.new(ARGV.shift, ARGV.shift) DRb.thread.join + es.stop_service if es.alive? end -- cgit v1.2.3