We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8021743 commit f4e345aCopy full SHA for f4e345a
test/tools/unified-spec-runner/entities.ts
@@ -621,7 +621,9 @@ export class EntitiesMap<E = Entity> extends Map<string, E> {
621
const client = new UnifiedMongoClient(uri, entity.client, config);
622
try {
623
new EntityEventRegistry(client, entity.client, map).register();
624
+ await client.connect();
625
} catch (error) {
626
+ console.error('failed to connect entity', entity);
627
// In the case where multiple clients are defined in the test and any one of them failed
628
// to connect, but others did succeed, we need to ensure all open clients are closed.
629
const clients = map.mapOf('client');
0 commit comments