summaryrefslogtreecommitdiff
path: root/test/rinda
diff options
context:
space:
mode:
Diffstat (limited to 'test/rinda')
-rw-r--r--test/rinda/test_rinda.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/rinda/test_rinda.rb b/test/rinda/test_rinda.rb
index 471b0dec58..ddebe54baa 100644
--- a/test/rinda/test_rinda.rb
+++ b/test/rinda/test_rinda.rb
@@ -504,6 +504,8 @@ class TupleSpaceProxyTest < Test::Unit::TestCase
ts = Rinda::TupleSpaceProxy.new(ro)
th = Thread.new do
ts.take([:test_take, nil])
+ rescue Interrupt
+ # Expected
end
Kernel.sleep(0.1)
th.raise(Interrupt) # causes loss of the taken tuple