From 28e2f388a9bdcb6db9af8989af4485b10308026c 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@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 8f677e1c9..62a945fb2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sun Mar 13 10:04:17 2005 Masatoshi SEKI + + * test/rinda/test_rinda.rb: remove test_gc. [ruby-dev:25871] + Thu Mar 10 19:12:06 2005 Hidetoshi NAGAI * ext/tcltklib/tcltklib.c (lib_eventloop_ensure): mis-delete a timer diff --git a/test/rinda/test_rinda.rb b/test/rinda/test_rinda.rb index 7ac691881..d2b2c7f17 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