summaryrefslogtreecommitdiff
path: root/jstests/noPassthroughWithMongod/index_check9.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/noPassthroughWithMongod/index_check9.js')
-rw-r--r--jstests/noPassthroughWithMongod/index_check9.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthroughWithMongod/index_check9.js b/jstests/noPassthroughWithMongod/index_check9.js
index 8a693604bb8..3e082cb1a3f 100644
--- a/jstests/noPassthroughWithMongod/index_check9.js
+++ b/jstests/noPassthroughWithMongod/index_check9.js
@@ -25,7 +25,7 @@ function doIt() {
alphas.push(Random.rand() > 0.5);
}
- t.ensureIndex(idx);
+ t.createIndex(idx);
function obj() {
var ret = {};