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
|
end
|
||||||
}
|
}
|
||||||
@server.stop_service
|
@server.stop_service
|
||||||
|
DRb::DRbConn.stop_pool
|
||||||
super
|
super
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -564,6 +565,7 @@ class TupleSpaceProxyTest < Test::Unit::TestCase
|
||||||
'[bug:8215] tuple lost')
|
'[bug:8215] tuple lost')
|
||||||
ensure
|
ensure
|
||||||
service.stop_service if service
|
service.stop_service if service
|
||||||
|
DRb::DRbConn.stop_pool
|
||||||
signal = /mswin|mingw/ =~ RUBY_PLATFORM ? "KILL" : "TERM"
|
signal = /mswin|mingw/ =~ RUBY_PLATFORM ? "KILL" : "TERM"
|
||||||
Process.kill(signal, write) if write && status.nil?
|
Process.kill(signal, write) if write && status.nil?
|
||||||
Process.kill(signal, take) if take
|
Process.kill(signal, take) if take
|
||||||
|
@ -632,6 +634,7 @@ class TestRingServer < Test::Unit::TestCase
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
@server.stop_service
|
@server.stop_service
|
||||||
|
DRb::DRbConn.stop_pool
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_do_reply
|
def test_do_reply
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue