Stop pool threads in test/rinda too
This commit is contained in:
parent
751a9b32e5
commit
8b07c122b7
@ -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…
x
Reference in New Issue
Block a user