aboutsummaryrefslogtreecommitdiffstats
path: root/test/rinda
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-01 14:08:35 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-01 14:08:35 +0000
commitfcdec9bfbb453661d8d213bb788a95f2c743965d (patch)
tree0530f418c58ba4a60817b6d29feffd6e4bebea5b /test/rinda
parentbe4b37dfae4fe3f5cdd2c9a14ba2db6d2d98f363 (diff)
downloadruby-fcdec9bfbb453661d8d213bb788a95f2c743965d.tar.gz
Stop DRb service.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rinda')
-rw-r--r--test/rinda/test_rinda.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/rinda/test_rinda.rb b/test/rinda/test_rinda.rb
index 8dd187447b..3c91eef7cf 100644
--- a/test/rinda/test_rinda.rb
+++ b/test/rinda/test_rinda.rb
@@ -525,6 +525,7 @@ class TupleSpaceProxyTest < Test::Unit::TestCase
assert_equal([[:test_take, 42]], @ts_base.read_all([:test_take, nil]),
'[bug:8215] tuple lost')
ensure
+ service.stop_service if service
signal = /mswin|mingw/ =~ RUBY_PLATFORM ? "KILL" : "TERM"
Process.kill(signal, write) if write && status.nil?
Process.kill(signal, take) if take