Quarantine UseHttpsWithAsyncCallbackDoeNotFallBackToDefaultCert (#25543)

This commit is contained in:
Stephen Halter 2020-09-02 14:40:37 -07:00 committed by GitHub
parent 3254f71b95
commit 6ec1b48118
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -61,6 +61,8 @@ namespace Microsoft.AspNetCore.Server.Kestrel.InMemory.FunctionalTests
}
[Fact]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/25542")]
public async Task UseHttpsWithAsyncCallbackDoeNotFallBackToDefaultCert()
{
var loggerProvider = new HandshakeErrorLoggerProvider();
@ -81,8 +83,10 @@ namespace Microsoft.AspNetCore.Server.Kestrel.InMemory.FunctionalTests
{
var ex = await Assert.ThrowsAnyAsync<Exception>(() =>
sslStream.AuthenticateAsClientAsync("127.0.0.1", clientCertificates: null,
enabledSslProtocols: SslProtocols.Tls,
enabledSslProtocols: SslProtocols.None,
checkCertificateRevocation: false));
Logger.LogTrace(ex, "AuthenticateAsClientAsync Exception");
}
}