diff options
Diffstat (limited to 'jstests/aggregation/bugs/server6531.js')
-rw-r--r-- | jstests/aggregation/bugs/server6531.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/aggregation/bugs/server6531.js b/jstests/aggregation/bugs/server6531.js index 46f09a0f379..cd2faae0eb7 100644 --- a/jstests/aggregation/bugs/server6531.js +++ b/jstests/aggregation/bugs/server6531.js @@ -23,9 +23,9 @@ function test(variant) { test("no index"); -c.createIndex({loc: "2d"}); +c.ensureIndex({loc: "2d"}); test("2d index"); c.dropIndex({loc: "2d"}); -c.createIndex({loc: "2dsphere"}); +c.ensureIndex({loc: "2dsphere"}); test("2dsphere index"); |