Skip to content

Commit 2df31f3

Browse files
committed
Fixed test
1 parent b57542d commit 2df31f3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/MongoDB.Driver.Tests/ClusterKeyTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,7 @@ internal ClusterKey CreateSubjectWith(
317317
var serverMonitoringMode = ServerMonitoringMode.Stream;
318318
var serverSelectionTimeout = TimeSpan.FromSeconds(6);
319319
var socketTimeout = TimeSpan.FromSeconds(4);
320+
var socks5ProxySettings = Socks5ProxySettings.Create("localhost", 1080, "user", "password");
320321
var srvMaxHosts = 3;
321322
var srvServiceName = "customname";
322323
var sslSettings = new SslSettings
@@ -358,7 +359,7 @@ internal ClusterKey CreateSubjectWith(
358359
serverMonitoringMode,
359360
serverSelectionTimeout,
360361
socketTimeout,
361-
null, //TODO Add correct proxy for tests
362+
socks5ProxySettings,
362363
srvMaxHosts,
363364
srvServiceName,
364365
sslSettings,

0 commit comments

Comments
 (0)