summaryrefslogtreecommitdiff
path: root/jstests/core/explain_large_bounds.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/explain_large_bounds.js')
-rw-r--r--jstests/core/explain_large_bounds.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/explain_large_bounds.js b/jstests/core/explain_large_bounds.js
index 1ca27f9a8ef..1ff7307e7d9 100644
--- a/jstests/core/explain_large_bounds.js
+++ b/jstests/core/explain_large_bounds.js
@@ -8,7 +8,7 @@
const coll = db.jstests_explain_large_bounds;
coll.drop();
-coll.createIndex({a: 1});
+coll.ensureIndex({a: 1});
let inClause = [];
for (let i = 0; i < 1000000; i++) {