Skip to content

Commit b4e63fb

Browse files
authored
test(NODE-4580): use primary preferred in socks test (#3506)
1 parent 4405f81 commit b4e63fb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/manual/socks5.test.ts

+1
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)