From 8f5be0c822362e113919145d52b9eeebba711236 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 19 Aug 2010 19:36:23 -0700 Subject: [PATCH] test: avoid leaving queues behind We shouldn't unnecessarily hog system resources. --- test/test_posix_mq.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_posix_mq.rb b/test/test_posix_mq.rb index 78a005b..777b9bf 100644 --- a/test/test_posix_mq.rb +++ b/test/test_posix_mq.rb @@ -30,7 +30,7 @@ class Test_POSIX_MQ < Test::Unit::TestCase def test_gc assert_nothing_raised do 2025.times { POSIX_MQ.new(@path, :rw) } - 2025.times { a = POSIX_MQ.new(@path, :rw); a.to_io } + 2025.times { @mq = POSIX_MQ.new(@path, :rw); @mq.to_io } end end -- 2.11.4.GIT