summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-10 07:19:08 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-10 07:19:08 +0000
commit9a269ab175a432b861f613c0d3ac59c72428868a (patch)
tree00a22bab80faf2efb9e9da728f52e8de3fe94d78 /test
parent6da0604df71d66b7484e77b92e5c13154664b06e (diff)
start GC before GC.stress.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rwxr-xr-xtest/json/test_json_generate.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/json/test_json_generate.rb b/test/json/test_json_generate.rb
index ab09ba4eeb2..1433b693abe 100755
--- a/test/json/test_json_generate.rb
+++ b/test/json/test_json_generate.rb
@@ -218,6 +218,7 @@ EOT
def test_gc
bignum_too_long_to_embed_as_string = 1234567890123456789012345
expect = bignum_too_long_to_embed_as_string.to_s
+ GC.start
stress, GC.stress = GC.stress, true
timeout(1) do