summaryrefslogtreecommitdiff
path: root/test/rinda
diff options
context:
space:
mode:
Diffstat (limited to 'test/rinda')
-rw-r--r--test/rinda/test_rinda.rb3
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