Skip to content

Re-enable Manual_CertificateOnlySentWhenValid_Success for WinHttpHandler#125262

Open
ManickaP wants to merge 1 commit intodotnet:mainfrom
ManickaP:fix/reenable-69238-winhttp-cert
Open

Re-enable Manual_CertificateOnlySentWhenValid_Success for WinHttpHandler#125262
ManickaP wants to merge 1 commit intodotnet:mainfrom
ManickaP:fix/reenable-69238-winhttp-cert

Conversation

@ManickaP
Copy link
Member

@ManickaP ManickaP commented Mar 6, 2026

Fixes #69238

Summary

Removes the SkipTestException guard that was disabling Manual_CertificateOnlySentWhenValid_Success for WinHttpHandler.

Validation

  • Built and ran Manual_CertificateOnlySentWhenValid_Success tests on Windows (both net11.0 and net481 TFMs).
  • Ran 20 consecutive iterations with 0 failures across all runs (6 tests on net11.0 + 3 tests on net481 per run).
  • No flakiness observed.

Remove the WinHttpHandler skip for the client certificate test. The
issue was reported in 2022 and it was unclear whether it was an
environmental problem, a transient certificate issue, or an actual
WinHttp bug. The test has not been reported as failing recently.

Fixes dotnet#69238

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 6, 2026 09:05
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR re-enables the Manual_CertificateOnlySentWhenValid_Success test for WinHttpHandler by removing the skip guard that had been added to work around issue #69238. That issue tracked intermittent WINHTTP_CALLBACK_STATUS_REQUEST_ERROR (error 12175) failures in CI when testing client certificate behavior in WinHttpHandler. The PR author validated the fix with 20 consecutive runs (0 failures) on both net11.0 and net481 TFMs.

Changes:

  • Removes the // [ActiveIssue("...")] comment that marked the test as having a known issue
  • Removes the if (IsWinHttpHandler) throw new SkipTestException(...) guard that skipped the test for WinHttpHandler

@dotnet-policy-service
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[WinHttp] Manual_CertificateOnlySentWhenValid_Success fails with WINHTTP_CALLBACK_STATUS_REQUEST_ERROR in rolling CI

2 participants