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_rand.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_rand.rb')
-rw-r--r-- | test/ruby/test_rand.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_rand.rb b/test/ruby/test_rand.rb index 98615f8d42..0517dd51c3 100644 --- a/test/ruby/test_rand.rb +++ b/test/ruby/test_rand.rb @@ -437,6 +437,7 @@ END end def test_rand_reseed_on_fork + GC.start bug5661 = '[ruby-core:41209]' assert_fork_status(1, bug5661) {Random.rand(4)} |