diff options
Diffstat (limited to 'jstests/slow1')
-rw-r--r-- | jstests/slow1/conc_update.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/slow1/conc_update.js b/jstests/slow1/conc_update.js index 0ca9ea81bea..80adb4955e4 100644 --- a/jstests/slow1/conc_update.js +++ b/jstests/slow1/conc_update.js @@ -16,7 +16,7 @@ for (var i = 0; i < NRECORDS; i++) { assert.commandWorked(bulk.execute()); print("making an index (this will take a while)"); -db.conc.createIndex({x: 1}); +db.conc.ensureIndex({x: 1}); var c1 = db.conc.count({x: {$lt: NRECORDS}}); |