1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Stop pool threads in test/rinda too

This commit is contained in:
Kazuhiro NISHIYAMA 2019-12-09 13:46:23 +09:00
parent 751a9b32e5
commit 8b07c122b7
No known key found for this signature in database
GPG key ID: 262ED8DBB4222F7A

View file

@ -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