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:
parent
751a9b32e5
commit
8b07c122b7
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue