Skip to content

Commit 7a5efd3

Browse files
committed
test: dont connect client
1 parent f1a60e7 commit 7a5efd3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/tools/unified-spec-runner/entities.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -621,9 +621,7 @@ export class EntitiesMap<E = Entity> extends Map<string, E> {
621621
const client = new UnifiedMongoClient(uri, entity.client, config);
622622
try {
623623
new EntityEventRegistry(client, entity.client, map).register();
624-
await client.connect();
625624
} catch (error) {
626-
console.error('failed to connect entity', entity);
627625
// In the case where multiple clients are defined in the test and any one of them failed
628626
// to connect, but others did succeed, we need to ensure all open clients are closed.
629627
const clients = map.mapOf('client');

0 commit comments

Comments
 (0)