summaryrefslogtreecommitdiff
path: root/test/rinda/test_rinda.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rinda/test_rinda.rb')
-rw-r--r--test/rinda/test_rinda.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/rinda/test_rinda.rb b/test/rinda/test_rinda.rb
index 0d94cf70da..b69b63ac78 100644
--- a/test/rinda/test_rinda.rb
+++ b/test/rinda/test_rinda.rb
@@ -519,6 +519,10 @@ class TupleSpaceTest < Test::Unit::TestCase
ThreadGroup.new.add(Thread.current)
@ts = Rinda::TupleSpace.new(1)
end
+ def teardown
+ # implementation-dependent
+ @ts.instance_eval{@keeper.kill if @keeper}
+ end
end
class TupleSpaceProxyTest < Test::Unit::TestCase
@@ -529,6 +533,10 @@ class TupleSpaceProxyTest < Test::Unit::TestCase
@ts_base = Rinda::TupleSpace.new(1)
@ts = Rinda::TupleSpaceProxy.new(@ts_base)
end
+ def teardown
+ # implementation-dependent
+ @ts_base.instance_eval{@keeper.kill if @keeper}
+ end
def test_remote_array_and_hash
@ts.write(DRbObject.new([1, 2, 3]))