From ebc580e40851ca850d14cd2d75c7d59b1c64045e Mon Sep 17 00:00:00 2001 From: Stephen Halter Date: Wed, 2 Sep 2020 12:23:27 -0700 Subject: [PATCH] Quarantine UseHttpsWithAsyncCallbackDoeNotFallBackToDefaultCert --- .../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 3ef0c16d2a0e..2e2e2c48bb6a 100644 --- a/src/Servers/Kestrel/test/InMemory.FunctionalTests/HttpsTests.cs +++ b/src/Servers/Kestrel/test/InMemory.FunctionalTests/HttpsTests.cs @@ -61,6 +61,8 @@ public void UseHttpsDefaultsToDefaultCert() } [Fact] + [QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/25542")] + public async Task UseHttpsWithAsyncCallbackDoeNotFallBackToDefaultCert() { var loggerProvider = new HandshakeErrorLoggerProvider(); @@ -81,8 +83,10 @@ public async Task UseHttpsWithAsyncCallbackDoeNotFallBackToDefaultCert() { 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"); } }