summaryrefslogtreecommitdiff
path: root/jstests/core/remove9.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/remove9.js')
-rw-r--r--jstests/core/remove9.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/remove9.js b/jstests/core/remove9.js
index dc3f84a9c34..4962dd9a06f 100644
--- a/jstests/core/remove9.js
+++ b/jstests/core/remove9.js
@@ -13,7 +13,7 @@
const t = db.jstests_remove9;
t.drop();
-t.ensureIndex({i: 1});
+t.createIndex({i: 1});
const bulk = t.initializeUnorderedBulkOp();
for (let i = 0; i < 1000; ++i) {