Skip to content

Remove web cmdlet tests using proxy env variables - #6808

Merged
Ilya (iSazonov) merged 2 commits into
PowerShell:masterfrom
iSazonov:remove-web-env-proxy-tests
May 8, 2018
Merged

Ilya (iSazonov) merged 2 commits into
PowerShell:masterfrom
iSazonov:remove-web-env-proxy-tests

Conversation

@iSazonov

Copy link
Copy Markdown
Collaborator

PR Summary

Fix #6804

Current .Net Core 2.1 socket based http client don't use curl so we can safely remove the tests.

PR Checklist

@iSazonov Ilya (iSazonov) self-assigned this May 3, 2018
@markekraus Mark Kraus (markekraus) changed the title Remove web cmdlet tests using env variables Remove web cmdlet tests using proxy env variables May 3, 2018
$testCase = @(
@{ proxy_address = (Get-WebListenerUrl).Authority; name = 'http_proxy'; protocol = 'http' }
@{ proxy_address = (Get-WebListenerUrl -https).Authority; name = 'https_proxy'; protocol = 'https' }
@{ proxy_address = (Get-WebListenerUrl).Authority; name = 'http proxy'; protocol = 'http' }

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

If we are going to use soft names, we should use HTTP proxy and HTTPS proxy.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Thanks! Fixed.

@iSazonov
Ilya (iSazonov) merged commit 4737eba into PowerShell:master May 8, 2018
@iSazonov
Ilya (iSazonov) deleted the remove-web-env-proxy-tests branch May 8, 2018 04:15
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove webcmdlet tests validating http_proxy and https_proxy env vars

2 participants