Skip to content

Commit 6c916ca

Browse files
committed
test(NODE-4580): use primary preferred in socks test
1 parent 30c0aee commit 6c916ca

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)