0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

SERVER-39663 change dropIndex("*") to dropIndexes("*") to drop multiple indexes

This commit is contained in:
Gregory Wlodarek 2019-04-05 21:40:35 -04:00
parent 3e7b98708d
commit 36edb90af0

View File

@ -29,5 +29,5 @@ assert.eq(num - 1, t.getIndexKeys().length, "B0");
t.ensureIndex({z: 1});
assert.eq(num, t.getIndexKeys().length, "B1");
t.dropIndex("*");
t.dropIndexes("*");
assert.eq(1, t.getIndexKeys().length, "C1");