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
This commit is contained in:
nobu 2014-01-18 02:38:40 +00:00
Родитель b1244684f8
Коммит 43d52687ba
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -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