Skip to content

Conversation

rzikm
Copy link
Member

@rzikm rzikm commented Apr 3, 2025

Closes #110578.

Restore previously disabled tests that depend on http://corefx-net-http11.azurewebsites.net.

@Copilot Copilot AI review requested due to automatic review settings April 3, 2025 08:00
@ghost ghost added the area-System.Net.Http label Apr 3, 2025
Copy link
Contributor

@Copilot 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 reverts the changes that disabled several HTTP server tests, restoring them by reverting to the original server configurations and re-enabling tests previously marked with ActiveIssue attributes.

  • Updated HTTP server URIs in tests to reference RemoteHttp11Server instead of RemoteSecureHttp11Server.
  • Removed ActiveIssue attributes to re-enable previously skipped tests.
  • Restored test data in configuration files to include external server endpoints.

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/libraries/System.Net.Http/tests/FunctionalTests/MetricsTest.cs Updated server URI for HTTP/1.1 tests.
src/libraries/System.Net.Http.WinHttpHandler/tests/FunctionalTests/WinHttpHandlerTest.cs Modified server URIs and request formatting for consistency.
src/libraries/System.Net.Http.WinHttpHandler/tests/FunctionalTests/ServerCertificateTest.cs Removed ActiveIssue attribute to re-enable the test.
src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.ServerCertificates.cs Removed ActiveIssue attribute to re-enable the test.
src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.RemoteServer.cs Updated server URIs for tests and adjusted assertions accordingly.
src/libraries/Common/tests/System/Net/Configuration.WebSockets.cs Restored Echo server arrays by uncommenting removed test endpoints.
src/libraries/Common/tests/System/Net/Configuration.Http.cs Updated server lists to include appropriate test endpoints.

@rzikm
Copy link
Member Author

rzikm commented Apr 3, 2025

/azp run runtime-libraries-coreclr outerloop

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

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

@rzikm rzikm requested a review from a team April 3, 2025 08:05
@rzikm
Copy link
Member Author

rzikm commented Apr 3, 2025

HTTP outerloop tests are passing, good to merge

@rzikm rzikm merged commit f6cafb9 into dotnet:main Apr 3, 2025
85 of 98 checks passed
@rzikm
Copy link
Member Author

rzikm commented Apr 3, 2025

/backport to release/8.0-staging

@rzikm
Copy link
Member Author

rzikm commented Apr 3, 2025

/backport to release/9.0-staging

Copy link
Contributor

github-actions bot commented Apr 3, 2025

Started backporting to release/8.0-staging: https://github.com/dotnet/runtime/actions/runs/14243045845

Copy link
Contributor

github-actions bot commented Apr 3, 2025

Started backporting to release/9.0-staging: https://github.com/dotnet/runtime/actions/runs/14243048694

Copy link
Contributor

github-actions bot commented Apr 3, 2025

@rzikm backporting to "release/8.0-staging" failed, the patch most likely resulted in conflicts:

$ git am --3way --empty=keep --ignore-whitespace --keep-non-patch changes.patch

Applying: Revert "Disable tests using http://corefx-net-http11.azurewebsites.net (#111235)"
Using index info to reconstruct a base tree...
M	src/libraries/Common/tests/System/Net/Configuration.Http.cs
M	src/libraries/Common/tests/System/Net/Configuration.WebSockets.cs
Falling back to patching base and 3-way merge...
Auto-merging src/libraries/Common/tests/System/Net/Configuration.WebSockets.cs
CONFLICT (content): Merge conflict in src/libraries/Common/tests/System/Net/Configuration.WebSockets.cs
Auto-merging src/libraries/Common/tests/System/Net/Configuration.Http.cs
CONFLICT (content): Merge conflict in src/libraries/Common/tests/System/Net/Configuration.Http.cs
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Patch failed at 0001 Revert "Disable tests using http://corefx-net-http11.azurewebsites.net (#111235)"
Error: The process '/usr/bin/git' failed with exit code 128

Please backport manually!

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

Successfully merging this pull request may close these issues.

Multiple test failures when connecting to corefx-net-http11.azurewebsites.net
2 participants