Skip to content

Test failure System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_BadCertificate_ThrowsException(url: \"https://wrong.host.badssl.com/\") #49185

Closed
@VincentBu

Description

@VincentBu

Run: runtime-libraries-coreclr outerloop 20210304.5

Failed test:

net6.0-windows-Release-x64-CoreCLR_release-(Windows.Server.Core.1909.Amd64.Open)windows.10.amd64.server20h1.open@mcr.microsoft.com/dotnet-buildtools/prereqs:windowsservercore-2004-helix-amd64-20200904200251-272704c
 -System.Net.Http.Functional.Tests.PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test.NoCallback_BadCertificate_ThrowsException(url: \"https://wrong.host.badssl.com/\")

Error message:

Assert.Throws() Failure
Expected: typeof(System.Net.Http.HttpRequestException)
Actual:   (No exception was thrown)


Stack trace
   at System.Net.Http.Functional.Tests.HttpClientHandler_ServerCertificates_Test.NoCallback_BadCertificate_ThrowsException(String url) in /_/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.ServerCertificates.cs:line 222
--- End of stack trace from previous location ---

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions