From 43d52687bae757faa3d3777a0ae9c04ec38578e1 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 18 Jan 2014 02:38:40 +0000 Subject: [PATCH] test_rinda.rb: hungup investigation * test/rinda/test_rinda.rb (test_do_reply): abort on exception to investigate sporadic hungups on rubyci. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/rinda/test_rinda.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/rinda/test_rinda.rb b/test/rinda/test_rinda.rb index 20aef9dc15..04a8727ff6 100644 --- a/test/rinda/test_rinda.rb +++ b/test/rinda/test_rinda.rb @@ -559,6 +559,8 @@ class TestRingServer < Test::Unit::TestCase 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::TestCase raise Timeout::Error, "timeout", bt ensure th.kill if th + Thread.abort_on_exception = aoe end def test_do_reply_local