Skip to content

Commit 4b0f9d1

Browse files
fix failing tests on young servers
1 parent 79a2e3d commit 4b0f9d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/integration/shared.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ async function setupDatabase(configuration, dbsToClean) {
9999
for await (const { name } of db.listCollections({}, { nameOnly: true })) {
100100
const collection = db.collection(name);
101101
await collection.deleteMany({}).catch(() => null);
102-
await collection.drop();
102+
await collection.drop().catch(() => null);
103103
}
104104
}
105105
} finally {

0 commit comments

Comments
 (0)