From 2bc0405d1c8cff5f7ade1fbac67667c8b5d0392f Mon Sep 17 00:00:00 2001 From: seki Date: Sun, 13 Mar 2005 01:10:24 +0000 Subject: remove test_gc git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ test/rinda/test_rinda.rb | 10 ---------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6504c6deae..86936e9883 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sun Mar 13 10:09:17 2005 Masatoshi SEKI + + * test/rinda/test_rinda.rb: remove test_gc. [ruby-dev:25871] + Sun Mar 13 02:32:54 2005 GOTOU Yuuzou * ext/openssl/ossl_ssl.c (ossl_tmp_dh_callback): should get DH diff --git a/test/rinda/test_rinda.rb b/test/rinda/test_rinda.rb index 7ac6918819..d2b2c7f17e 100644 --- a/test/rinda/test_rinda.rb +++ b/test/rinda/test_rinda.rb @@ -6,8 +6,6 @@ require 'rinda/tuplespace' require 'singleton' -require 'weakref' - module Rinda class MockClock @@ -501,14 +499,6 @@ class TupleSpaceTest < Test::Unit::TestCase ThreadGroup.new.add(Thread.current) @ts = Rinda::TupleSpace.new(1) end - - def test_gc - w = WeakRef.new(Rinda::TupleSpace.new) - GC.start - assert_raises(WeakRef::RefError) do - w.__getobj__ - end - end end class TupleSpaceProxyTest < Test::Unit::TestCase -- cgit v1.2.3