diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-11 01:31:23 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-11 01:31:23 +0000 |
commit | e2a17dad48d286ecd04f7b9da59fd85f31011a44 (patch) | |
tree | b51f39b766357bfc115c0d9a3203c6834e0d4ba0 /test/ruby/test_notimp.rb | |
parent | 300b7c80e4266fd4ed15b503d503f68def64aa67 (diff) |
call GC.start before fork-related tests to decrease GC cost on fork children
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_notimp.rb')
-rw-r--r-- | test/ruby/test_notimp.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_notimp.rb b/test/ruby/test_notimp.rb index 9e80987a87..d16ad5155b 100644 --- a/test/ruby/test_notimp.rb +++ b/test/ruby/test_notimp.rb @@ -21,6 +21,7 @@ class TestNotImplement < Test::Unit::TestCase end def test_call_fork + GC.start pid = nil begin Timeout.timeout(5) { |