[前][次][番号順一覧][スレッド一覧]

ruby-changes:34224

From: akr <ko1@a...>
Date: Mon, 2 Jun 2014 09:46:40 +0900 (JST)
Subject: [ruby-changes:34224] akr:r46296 (trunk): Stop DRb service.

akr	2014-06-01 23:08:35 +0900 (Sun, 01 Jun 2014)

  New Revision: 46296

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?revision=46296&view=revision

  Log:
    Stop DRb service.

  Modified files:
    trunk/test/rinda/test_rinda.rb
Index: test/rinda/test_rinda.rb
===================================================================
--- test/rinda/test_rinda.rb	(revision 46295)
+++ test/rinda/test_rinda.rb	(revision 46296)
@@ -525,6 +525,7 @@ class TupleSpaceProxyTest < Test::Unit:: https://github.com/ruby/ruby/blob/trunk/test/rinda/test_rinda.rb#L525
     assert_equal([[:test_take, 42]], @ts_base.read_all([:test_take, nil]),
                  '[bug:8215] tuple lost')
   ensure
+    service.stop_service if service
     signal = /mswin|mingw/ =~ RUBY_PLATFORM ? "KILL" : "TERM"
     Process.kill(signal, write) if write && status.nil?
     Process.kill(signal, take)  if take

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]