We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2aa519 commit 946f04aCopy full SHA for 946f04a
tests/MongoDB.Driver.Tests/RetryableWritesTests.cs
@@ -186,7 +186,7 @@ private DisposableMongoClient GetClient(Action<ClusterBuilder> clusterConfigurat
186
var connectionString = CoreTestConfiguration.ConnectionString.ToString();
187
var clientSettings = MongoClientSettings.FromUrl(new MongoUrl(connectionString));
188
clientSettings.RetryWrites = true;
189
- clientSettings.ClusterConfigurator = cb => cb.Subscribe(clusterConfigurator);
+ clientSettings.ClusterConfigurator = clusterConfigurator;
190
191
return new DisposableMongoClient(new MongoClient(clientSettings));
192
}
0 commit comments