ruby-changes:34169
From: akr <ko1@a...>
Date: Fri, 30 May 2014 18:08:26 +0900 (JST)
Subject: [ruby-changes:34169] akr:r46250 (trunk): * test/lib/minitest/unit.rb (check_fd_leak): Try GC to delete leaked
akr 2014-05-30 18:08:23 +0900 (Fri, 30 May 2014) New Revision: 46250 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?revision=46250&view=revision Log: * test/lib/minitest/unit.rb (check_fd_leak): Try GC to delete leaked FDs. Modified files: trunk/ChangeLog trunk/test/lib/minitest/unit.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 46249) +++ ChangeLog (revision 46250) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Fri May 30 18:06:55 2014 Tanaka Akira <akr@f...> + + * test/lib/minitest/unit.rb (check_fd_leak): Try GC to delete leaked + FDs. + Fri May 30 12:05:59 2014 NARUSE, Yui <naruse@r...> * test/lib/test/unit/parallel.rb (_run_suite): orig_stdout may be nil Index: test/lib/minitest/unit.rb =================================================================== --- test/lib/minitest/unit.rb (revision 46249) +++ test/lib/minitest/unit.rb (revision 46250) @@ -1047,6 +1047,8 @@ module MiniTest https://github.com/ruby/ruby/blob/trunk/test/lib/minitest/unit.rb#L1047 puts "Multiple autoclose IO object for a file descriptor:#{str}" end } + h = nil + GC.start end live2 end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/