diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-30 09:08:23 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-30 09:08:23 +0000 |
commit | e03e2b95a0545d37ce678253d282952ed6513387 (patch) | |
tree | f1c3e1eb181d6f26ba736840235163336553c745 /test/lib/minitest/unit.rb | |
parent | d4101d636fa3d0a4274501b547303fa228792c22 (diff) | |
download | ruby-e03e2b95a0545d37ce678253d282952ed6513387.tar.gz |
* 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/unit.rb')
-rw-r--r-- | test/lib/minitest/unit.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lib/minitest/unit.rb b/test/lib/minitest/unit.rb index 4dc4d33f24..aeb529a43c 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 |