Skip to content

Commit 8b9f829

Browse files
authored
Update ConnectionRaceTests.cs
1 parent 8511786 commit 8b9f829

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/StackExchange.Redis.Tests/ConnectionRaceTests.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ public async Task HandshakeCompletionGatePreventsUnauthenticatedPayloads()
2121
var options = new ConfigurationOptions
2222
{
2323
EndPoints = { { TestConfig.Current.PrimaryServer, TestConfig.Current.PrimaryPort } },
24-
Password = TestConfig.Current.PrimaryPassword,
2524
AbortOnConnectFail = false,
2625
AllowAdmin = true
2726
};
@@ -35,7 +34,7 @@ public async Task HandshakeCompletionGatePreventsUnauthenticatedPayloads()
3534
{
3635
for (int i = 0; i < 5; i++)
3736
{
38-
server.SimulateConnectionFailure(SimulatedFailureType.AuthenticationFailure);
37+
server.SimulateConnectionFailure(SimulatedFailureType.All);
3938
await Task.Delay(10);
4039
}
4140
});

0 commit comments

Comments
 (0)