From 6ec1b481186365519c95cc79b24fc6f1c926e249 Mon Sep 17 00:00:00 2001 From: Stephen Halter Date: Wed, 2 Sep 2020 14:40:37 -0700 Subject: [PATCH] Quarantine UseHttpsWithAsyncCallbackDoeNotFallBackToDefaultCert (#25543) --- .../Kestrel/test/InMemory.FunctionalTests/HttpsTests.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Servers/Kestrel/test/InMemory.FunctionalTests/HttpsTests.cs b/src/Servers/Kestrel/test/InMemory.FunctionalTests/HttpsTests.cs index 3ef0c16d2a..2e2e2c48bb 100644 --- a/src/Servers/Kestrel/test/InMemory.FunctionalTests/HttpsTests.cs +++ b/src/Servers/Kestrel/test/InMemory.FunctionalTests/HttpsTests.cs @@ -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(() => sslStream.AuthenticateAsClientAsync("127.0.0.1", clientCertificates: null, - enabledSslProtocols: SslProtocols.Tls, + enabledSslProtocols: SslProtocols.None, checkCertificateRevocation: false)); + + Logger.LogTrace(ex, "AuthenticateAsClientAsync Exception"); } }