Skip to content

Commit 44eb24b

Browse files
committed
CSHARP-4080: Skip tests for MongoClient constructors that take multiple credentials against servers newer than 6.0.0.
1 parent 5861edb commit 44eb24b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/MongoDB.Driver.Tests/AuthenticationTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ public void Authentication_succeeds_when_user_has_Scram_Sha_256_mechanism_and_me
200200
public void Authentication_succeeds_when_user_has_multiple_credentials_and_mechanism_is_not_specified(
201201
[Values(false, true)] bool async)
202202
{
203-
RequireServer.Check().Supports(Feature.ScramSha256Authentication).Authentication(true);
203+
RequireServer.Check().Supports(Feature.ScramSha256Authentication).Authentication(true).VersionLessThan("6.0.0-");
204204
var client = DriverTestConfiguration.Client;
205205
var source1 = "nyc-matrix";
206206
var userName1 = $"ThomasAnderson{Guid.NewGuid()}";

0 commit comments

Comments
 (0)