ruby-changes:59120
From: Kazuhiro <ko1@a...>
Date: Mon, 9 Dec 2019 13:47:47 +0900 (JST)
Subject: [ruby-changes:59120] 8b07c122b7 (master): Stop pool threads in test/rinda too
https://git.ruby-lang.org/ruby.git/commit/?id=8b07c122b7 From 8b07c122b7785fde6b06dd31b09f59a7cbdac2cd Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA <zn@m...> Date: Mon, 9 Dec 2019 13:46:23 +0900 Subject: Stop pool threads in test/rinda too diff --git a/test/rinda/test_rinda.rb b/test/rinda/test_rinda.rb index 0b870a6..2296653 100644 --- a/test/rinda/test_rinda.rb +++ b/test/rinda/test_rinda.rb @@ -509,6 +509,7 @@ class TupleSpaceProxyTest < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/rinda/test_rinda.rb#L509 end } @server.stop_service + DRb::DRbConn.stop_pool super end @@ -564,6 +565,7 @@ class TupleSpaceProxyTest < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/rinda/test_rinda.rb#L565 '[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 https://github.com/ruby/ruby/blob/trunk/test/rinda/test_rinda.rb#L634 end } @server.stop_service + DRb::DRbConn.stop_pool end def test_do_reply -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/