From 8b07c122b7785fde6b06dd31b09f59a7cbdac2cd Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA Date: Mon, 9 Dec 2019 13:46:23 +0900 Subject: [PATCH] Stop pool threads in test/rinda too --- test/rinda/test_rinda.rb | 3 +++ 1 file changed, 3 insertions(+) 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