summaryrefslogtreecommitdiff
path: root/jstests/noPassthroughWithMongod/index_check10.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/noPassthroughWithMongod/index_check10.js')
-rw-r--r--jstests/noPassthroughWithMongod/index_check10.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthroughWithMongod/index_check10.js b/jstests/noPassthroughWithMongod/index_check10.js
index e0786a4e539..f355ace6bb8 100644
--- a/jstests/noPassthroughWithMongod/index_check10.js
+++ b/jstests/noPassthroughWithMongod/index_check10.js
@@ -108,7 +108,7 @@ function doIt() {
}
assert.commandWorked(bulk.execute());
- t.ensureIndex(idx);
+ t.createIndex(idx);
check();
bulk = t.initializeUnorderedBulkOp();