Skip to content

Commit bf92d10

Browse files
authored
test(NODE-5218): use primary preferred in socks test (#3654)
1 parent 9bc0a43 commit bf92d10

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/manual/socks5.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ describe('Socks5 Connectivity', function () {
3434
}
3535
rsConnectionString.searchParams.set('serverSelectionTimeoutMS', '2000');
3636
singleConnectionString.searchParams.set('serverSelectionTimeoutMS', '2000');
37+
singleConnectionString.searchParams.set('readPreference', 'primaryPreferred');
3738

3839
installNodeDNSWorkaroundHooks();
3940

0 commit comments

Comments
 (0)