diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-01-18 02:38:40 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-01-18 02:38:40 +0000 |
commit | 43d52687bae757faa3d3777a0ae9c04ec38578e1 (patch) | |
tree | 24afd5896c2c17ff7f2e0b93bbcba2ec242e12bf /test | |
parent | b1244684f8dfbe377b3595ef007f5b1e4947be0d (diff) | |
download | ruby-43d52687bae757faa3d3777a0ae9c04ec38578e1.tar.gz |
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
Diffstat (limited to 'test')
-rw-r--r-- | test/rinda/test_rinda.rb | 3 |
1 files changed, 3 insertions, 0 deletions
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 |