summaryrefslogtreecommitdiff
path: root/test/rinda
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-12-09 13:46:23 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-12-09 13:46:23 +0900
commit8b07c122b7785fde6b06dd31b09f59a7cbdac2cd (patch)
treee649b0910e9ecd998158b11b89c0f09c88abb1e6 /test/rinda
parent751a9b32e5a53336768eb878de1827245a3292bf (diff)
Stop pool threads in test/rinda too
Diffstat (limited to 'test/rinda')
-rw-r--r--test/rinda/test_rinda.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/rinda/test_rinda.rb b/test/rinda/test_rinda.rb
index 0b870a6bec..22966532b7 100644
--- a/test/rinda/test_rinda.rb
+++ b/test/rinda/test_rinda.rb
@@ -509,6 +509,7 @@ class TupleSpaceProxyTest < Test::Unit::TestCase
end
}
@server.stop_service
+ DRb::DRbConn.stop_pool
super
end
@@ -564,6 +565,7 @@ class TupleSpaceProxyTest < Test::Unit::TestCase
'[bug:8215] tuple lost')
ensure
service.stop_service if service
+ DRb::DRbConn.stop_pool
signal = /mswin|mingw/ =~ RUBY_PLATFORM ? "KILL" : "TERM"
Process.kill(signal, write) if write && status.nil?
Process.kill(signal, take) if take
@@ -632,6 +634,7 @@ class TestRingServer < Test::Unit::TestCase
end
}
@server.stop_service
+ DRb::DRbConn.stop_pool
end
def test_do_reply