summaryrefslogtreecommitdiff
path: root/test/drb/ut_drb_drbssl.rb
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-07 01:54:40 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-07 01:54:40 +0000
commitbb6a76f9999a851adb721c8f32a216c192557ac3 (patch)
treef708b96d78b602b6722eabbfe24dbb835ef29c83 /test/drb/ut_drb_drbssl.rb
parent38b57c2915035105c92fcc46bf212125ac421e48 (diff)
explicitly stop DRb::ExtServ
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/drb/ut_drb_drbssl.rb')
-rw-r--r--test/drb/ut_drb_drbssl.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/drb/ut_drb_drbssl.rb b/test/drb/ut_drb_drbssl.rb
index 098cb898124..1e270371d5d 100644
--- a/test/drb/ut_drb_drbssl.rb
+++ b/test/drb/ut_drb_drbssl.rb
@@ -30,7 +30,8 @@ AQjjxMXhwULlmuR/K+WwlaZPiLIBYalLAZQ7ZbOPeVkJ8ePao0eLAgEC
DRb::DRbServer.default_argc_limit(8)
DRb::DRbServer.default_load_limit(4096)
DRb.start_service('drbssl://localhost:0', DRbEx.new, config)
- 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