summaryrefslogtreecommitdiff
path: root/test/lib/minitest
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-30 09:08:23 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-30 09:08:23 +0000
commite03e2b95a0545d37ce678253d282952ed6513387 (patch)
treef1c3e1eb181d6f26ba736840235163336553c745 /test/lib/minitest
parentd4101d636fa3d0a4274501b547303fa228792c22 (diff)
* test/lib/minitest/unit.rb (check_fd_leak): Try GC to delete leaked
FDs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/lib/minitest')
-rw-r--r--test/lib/minitest/unit.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lib/minitest/unit.rb b/test/lib/minitest/unit.rb
index 4dc4d33..aeb529a 100644
--- a/test/lib/minitest/unit.rb
+++ b/test/lib/minitest/unit.rb
@@ -1047,6 +1047,8 @@ module MiniTest
puts "Multiple autoclose IO object for a file descriptor:#{str}"
end
}
+ h = nil
+ GC.start
end
live2
end