diff options
author | Benety Goh <benety@mongodb.com> | 2018-12-27 12:15:59 -0500 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2018-12-27 12:16:08 -0500 |
commit | 9da0e261619a4211a3ddee8c72ed2657c4c0d284 (patch) | |
tree | f71a3f5fcedeed092d57943587042888a3c8eb59 /jstests | |
parent | e9ab3a4f84e51e30e95c8e0c8f9ae46237e1a926 (diff) | |
download | mongo-9da0e261619a4211a3ddee8c72ed2657c4c0d284.tar.gz |
SERVER-25936 remove deleteIndexes references from tests
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/core/drop.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/jstests/core/drop.js b/jstests/core/drop.js index 789c87bf227..ea395660a5f 100644 --- a/jstests/core/drop.js +++ b/jstests/core/drop.js @@ -19,8 +19,7 @@ assert.eq(0, coll.getIndexes().length, "D"); coll.ensureIndex({a: 1}); assert.eq(2, coll.getIndexes().length, "E"); -assert.commandWorked(db.runCommand({deleteIndexes: coll.getName(), index: "*"}), - "delete indexes A"); +assert.commandWorked(db.runCommand({dropIndexes: coll.getName(), index: "*"}), "drop indexes A"); assert.eq(1, coll.getIndexes().length, "G"); // make sure we can still use it |