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