Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix HttpClientHandler_ServerCertificates_Test #49130

Merged
merged 1 commit into from
Mar 4, 2021

Conversation

antonfirsov
Copy link
Member

@antonfirsov antonfirsov commented Mar 4, 2021

Fixes #49028, which is a regression caused by an overlook in #48817. HttpClientHandler_ServerCertificates_Test should also have a custom overload for CreateHttpClient() not only CreateHttpClientHandler(), otherwise ServerCertificateCustomValidationCallback won't be configured correctly in member test cases using CreateHttpClient().

@ghost
Copy link

ghost commented Mar 4, 2021

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

Issue Details

Fixes #49028, which is a regression caused by an overlook in #48817. HttpClientHandler_ServerCertificates_Test should also have a custom overload for CreateHttpClient() not only CreateHttpClientHandler(), otherwise ServerCertificateCustomValidationCallback won't be configured correctly.

Author: antonfirsov
Assignees: -
Labels:

area-System.Net.Http

Milestone: -

@antonfirsov antonfirsov added this to the 6.0.0 milestone Mar 4, 2021
@antonfirsov antonfirsov requested a review from a team March 4, 2021 13:17
@antonfirsov
Copy link
Member Author

/azp run runtime-libraries-coreclr outerloop

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@ManickaP ManickaP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM if the test will eventually pass, thanks.

@antonfirsov
Copy link
Member Author

The only Http test failure is #44352, which is unrelated. The PlatformHandler_HttpClientHandler_ServerCertificates_Http2_Test failures seems to be gone.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants