[前][次][番号順一覧][スレッド一覧]

ruby-changes:28929

From: naruse <ko1@a...>
Date: Wed, 29 May 2013 13:38:50 +0900 (JST)
Subject: [ruby-changes:28929] naruse:r40981 (trunk): GC before running test_copy_stream_socket7

naruse	2013-05-29 13:38:38 +0900 (Wed, 29 May 2013)

  New Revision: 40981

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40981

  Log:
    GC before running test_copy_stream_socket7
    
    it sometimes occurs NoMemoryError
    http://c5664.rubyci.org/~chkbuild/ruby-trunk/log/20130529T033302Z.diff.html.gz

  Modified files:
    trunk/test/ruby/test_io.rb

Index: test/ruby/test_io.rb
===================================================================
--- test/ruby/test_io.rb	(revision 40980)
+++ test/ruby/test_io.rb	(revision 40981)
@@ -660,6 +660,7 @@ class TestIO < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_io.rb#L660
   end if defined? UNIXSocket
 
   def test_copy_stream_socket7
+    GC.start
     mkcdtmpdir {
       megacontent = "abc" * 1234567
       File.open("megasrc", "w") {|f| f << megacontent }

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]