ruby-changes:32554
From: nobu <ko1@a...>
Date: Sat, 18 Jan 2014 11:38:51 +0900 (JST)
Subject: [ruby-changes:32554] nobu:r44632 (trunk): test_rinda.rb: hungup investigation
nobu 2014-01-18 11:38:40 +0900 (Sat, 18 Jan 2014) New Revision: 44632 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44632 Log: test_rinda.rb: hungup investigation * test/rinda/test_rinda.rb (test_do_reply): abort on exception to investigate sporadic hungups on rubyci. Modified files: trunk/test/rinda/test_rinda.rb Index: test/rinda/test_rinda.rb =================================================================== --- test/rinda/test_rinda.rb (revision 44631) +++ test/rinda/test_rinda.rb (revision 44632) @@ -559,6 +559,8 @@ class TestRingServer < Test::Unit::TestC https://github.com/ruby/ruby/blob/trunk/test/rinda/test_rinda.rb#L559 end def test_do_reply + aoe = Thread.abort_on_exception + Thread.abort_on_exception = true tl0 = Thread.list tl = nil th = Thread.new(Thread.current) do |mth| @@ -604,6 +606,7 @@ class TestRingServer < Test::Unit::TestC https://github.com/ruby/ruby/blob/trunk/test/rinda/test_rinda.rb#L606 raise Timeout::Error, "timeout", bt ensure th.kill if th + Thread.abort_on_exception = aoe end def test_do_reply_local -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/