Skip to content

Commit aae2823

Browse files
committed
CSHARP-3085: Re-enable speculative auth integration tests for sharded clusters
1 parent aea8ff8 commit aae2823

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/MongoDB.Driver.Tests/AuthenticationTests.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,8 +375,7 @@ private void AssertAuthenticationSucceeds(
375375
_ = client.ListDatabaseNames().ToList();
376376
}
377377
if (Feature.SpeculativeAuthentication.IsSupported(CoreTestConfiguration.ServerVersion) &&
378-
speculativeAuthenticatationShouldSucceedIfPossible &&
379-
Driver.CoreTestConfiguration.Cluster.Description.Type != Core.Clusters.ClusterType.Sharded) // Until https://jira.mongodb.org/browse/SERVER-47908 is resolved
378+
speculativeAuthenticatationShouldSucceedIfPossible)
380379
{
381380
var cancellationToken = CancellationToken.None;
382381
var serverSelector = new ReadPreferenceServerSelector(settings.ReadPreference);

0 commit comments

Comments
 (0)