diff options
author | agirbal <antoine@10gen.com> | 2011-10-17 18:12:17 -0700 |
---|---|---|
committer | agirbal <antoine@10gen.com> | 2011-10-17 18:12:17 -0700 |
commit | 23c33b2f8f6da5f498b06d191cde6916d3f07025 (patch) | |
tree | 62c04a7a4d4b1a37ce9077b95c4e2a4811421813 /jstests/push2.js | |
parent | 125103fc008b48be497f0418151b852e273e9b65 (diff) | |
download | mongo-23c33b2f8f6da5f498b06d191cde6916d3f07025.tar.gz |
make some tests more v8 friendly
Diffstat (limited to 'jstests/push2.js')
-rw-r--r-- | jstests/push2.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/jstests/push2.js b/jstests/push2.js index b9761697615..c8d0d0f5508 100644 --- a/jstests/push2.js +++ b/jstests/push2.js @@ -4,9 +4,10 @@ t.drop() t.save( { _id : 1 , a : [] } ) -var s = ""; +var inc = "asdasdasdasdasdasdasasdasdasdasdasdasdasasdasdasdasdasdasdasasdasdasdasdasdasdasasdasdasdasdasdasdas"; +var s = inc; while ( s.length < 100000 ) - s += "asdasdasdasdasdasdasasdasdasdasdasdasdasasdasdasdasdasdasdasasdasdasdasdasdasdasasdasdasdasdasdasdas"; + s += inc; gotError = null; |