Skip to content

Commit 5a0f79e

Browse files
committed
fix typo
1 parent 36b9178 commit 5a0f79e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

test/integration/server-selection/server_selection_timeout_cleanup.test.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,15 @@ describe.only('server selection timeout cleanup', function () {
1414
{ requires: { topology: 'sharded', mongodb: '>=4.4' } },
1515
function () {
1616
beforeEach(async function () {
17-
client = this.configuration.newClient({ serverSelectionTimeoutMS: 500, retryWrites: true });
17+
client = this.configuration.newClient(
18+
this.configuration.url({ useMultipleMongoses: true }),
19+
{ serverSelectionTimeoutMS: 500, retryWrites: true }
20+
);
1821
await client.connect();
1922

2023
collection = client.db('server_selection').collection('timeout_cleanup');
2124

25+
utilClients = [];
2226
// we need to configure failpoint for every mongos as we don't know where the session will be pinned to
2327
const seeds = client.topology.s.seedlist.map(address => address.toString());
2428
for (const seed of seeds) {

0 commit comments

Comments
 (0)