summaryrefslogtreecommitdiff
path: root/jstests/noPassthroughWithMongod
diff options
context:
space:
mode:
authorCharlie Swanson <charlie.swanson@mongodb.com>2015-08-31 16:35:35 -0400
committerCharlie Swanson <charlie.swanson@mongodb.com>2015-08-31 16:59:34 -0400
commitf144f4f5f44e6bb38d640cecc0cc05356698b2e9 (patch)
tree9ecdb5af8ac48b66c923c8800afed7f59d410654 /jstests/noPassthroughWithMongod
parent50e7b420230c014e4ae27d9aae9e0760965fe858 (diff)
downloadmongo-f144f4f5f44e6bb38d640cecc0cc05356698b2e9.tar.gz
SERVER-20226 Fix reference to undefined variable in bulk_shard_insert.js
Diffstat (limited to 'jstests/noPassthroughWithMongod')
-rw-r--r--jstests/noPassthroughWithMongod/bulk_shard_insert.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthroughWithMongod/bulk_shard_insert.js b/jstests/noPassthroughWithMongod/bulk_shard_insert.js
index 74810a7c668..068a75b7820 100644
--- a/jstests/noPassthroughWithMongod/bulk_shard_insert.js
+++ b/jstests/noPassthroughWithMongod/bulk_shard_insert.js
@@ -43,7 +43,7 @@ while( docsInserted < numDocs ){
var bulk = []
for( var i = 0; i < currBulkSize; i++ ){
- bulk.push({ hi : "there", at : docsInserted, i : i, x : x })
+ bulk.push({hi: "there", at: docsInserted, i: i, x: data});
}
assert.writeOK(coll.insert( bulk ));