Skip to content

Commit 6ec1b48

Browse files
authored
Quarantine UseHttpsWithAsyncCallbackDoeNotFallBackToDefaultCert (#25543)
1 parent 3254f71 commit 6ec1b48

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Servers/Kestrel/test/InMemory.FunctionalTests/HttpsTests.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ public void UseHttpsDefaultsToDefaultCert()
6161
}
6262

6363
[Fact]
64+
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/25542")]
65+
6466
public async Task UseHttpsWithAsyncCallbackDoeNotFallBackToDefaultCert()
6567
{
6668
var loggerProvider = new HandshakeErrorLoggerProvider();
@@ -81,8 +83,10 @@ public async Task UseHttpsWithAsyncCallbackDoeNotFallBackToDefaultCert()
8183
{
8284
var ex = await Assert.ThrowsAnyAsync<Exception>(() =>
8385
sslStream.AuthenticateAsClientAsync("127.0.0.1", clientCertificates: null,
84-
enabledSslProtocols: SslProtocols.Tls,
86+
enabledSslProtocols: SslProtocols.None,
8587
checkCertificateRevocation: false));
88+
89+
Logger.LogTrace(ex, "AuthenticateAsClientAsync Exception");
8690
}
8791
}
8892

0 commit comments

Comments
 (0)