diff options
Diffstat (limited to 'jstests/noPassthroughWithMongod/recstore.js')
-rw-r--r-- | jstests/noPassthroughWithMongod/recstore.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/jstests/noPassthroughWithMongod/recstore.js b/jstests/noPassthroughWithMongod/recstore.js index fdb41af568b..cae767b0637 100644 --- a/jstests/noPassthroughWithMongod/recstore.js +++ b/jstests/noPassthroughWithMongod/recstore.js @@ -10,13 +10,13 @@ t.drop(); t.save({z: 3}); t.save({z: 2}); -t.ensureIndex({z: 1}); -t.ensureIndex({q: 1}); +t.createIndex({z: 1}); +t.createIndex({q: 1}); assert(t.find().sort({z: 1})[0].z == 2); t.dropIndexes(); assert(t.find().sort({z: 1})[0].z == 2); -t.ensureIndex({z: 1}); -t.ensureIndex({q: 1}); +t.createIndex({z: 1}); +t.createIndex({q: 1}); |