summaryrefslogtreecommitdiff
path: root/jstests/tool/exportimport_bigarray.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/tool/exportimport_bigarray.js')
-rw-r--r--jstests/tool/exportimport_bigarray.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/jstests/tool/exportimport_bigarray.js b/jstests/tool/exportimport_bigarray.js
index 0b801699d1b..60642b6afb1 100644
--- a/jstests/tool/exportimport_bigarray.js
+++ b/jstests/tool/exportimport_bigarray.js
@@ -11,10 +11,7 @@ dst.drop();
// Calculate the number of documents it takes to get above 16MB (here using 20MB just to be safe)
var bigString = new Array(1025).toString();
-var doc = {
- _id: new ObjectId(),
- x: bigString
-};
+var doc = {_id: new ObjectId(), x: bigString};
var docSize = Object.bsonsize(doc);
var numDocs = Math.floor(20 * 1024 * 1024 / docSize);