Skip to content

Commit c1576ff

Browse files
authored
Temporarily disable NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds (#79407)
The 3rd party service has expired certificate
1 parent 41ae1ae commit c1576ff

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.ServerCertificates.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,8 @@ public async Task UseCallback_ValidCertificate_ExpectedValuesDuringCallback(Conf
148148
{
149149
bool callbackCalled = false;
150150
handler.CheckCertificateRevocationList = checkRevocation;
151-
handler.ServerCertificateCustomValidationCallback = (request, cert, chain, errors) => {
151+
handler.ServerCertificateCustomValidationCallback = (request, cert, chain, errors) =>
152+
{
152153
callbackCalled = true;
153154
Assert.NotNull(request);
154155

@@ -227,6 +228,7 @@ public async Task NoCallback_BadCertificate_ThrowsException(string url)
227228
}
228229

229230
[OuterLoop("Uses external servers")]
231+
[ActiveIssue("https://github.com/dotnet/runtime/issues/77726")]
230232
[ConditionalFact(nameof(ClientSupportsDHECipherSuites))]
231233
public async Task NoCallback_RevokedCertificate_NoRevocationChecking_Succeeds()
232234
{

0 commit comments

Comments
 (0)