diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-29 04:38:38 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-29 04:38:38 +0000 |
commit | f85733a7ce27f28756509462a5d3302854d375c7 (patch) | |
tree | 182bc73a8845de93919aa7202d00b95b271547e7 /test/ruby/test_io.rb | |
parent | 76300fbae2717a6da9b625db863b6b62797aa90a (diff) | |
download | ruby-f85733a7ce27f28756509462a5d3302854d375c7.tar.gz |
GC before running test_copy_stream_socket7
it sometimes occurs NoMemoryError
http://c5664.rubyci.org/~chkbuild/ruby-trunk/log/20130529T033302Z.diff.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_io.rb')
-rw-r--r-- | test/ruby/test_io.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb index 395a9b9867..6fccf81621 100644 --- a/test/ruby/test_io.rb +++ b/test/ruby/test_io.rb @@ -660,6 +660,7 @@ class TestIO < Test::Unit::TestCase end if defined? UNIXSocket def test_copy_stream_socket7 + GC.start mkcdtmpdir { megacontent = "abc" * 1234567 File.open("megasrc", "w") {|f| f << megacontent } |