diff options
Diffstat (limited to 'jstests/noPassthroughWithMongod/background.js')
-rw-r--r-- | jstests/noPassthroughWithMongod/background.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthroughWithMongod/background.js b/jstests/noPassthroughWithMongod/background.js index ef591fa5114..a6fe673a376 100644 --- a/jstests/noPassthroughWithMongod/background.js +++ b/jstests/noPassthroughWithMongod/background.js @@ -18,7 +18,7 @@ for (var i = 0; i < 100000; i++) { } // start bg indexing -a.bg1.ensureIndex({i: 1}, {name: "i_1", background: true}); +a.bg1.createIndex({i: 1}, {name: "i_1", background: true}); // add more data bulk = t.initializeUnorderedBulkOp(); |