Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Remove web cmdlet tests using proxy env variables#6808

Merged
iSazonov merged 2 commits into
PowerShell:masterPowerShell/PowerShell:masterfrom
iSazonov:remove-web-env-proxy-testsiSazonov/PowerShell:remove-web-env-proxy-testsCopy head branch name to clipboard
May 8, 2018
Merged

Remove web cmdlet tests using proxy env variables#6808
iSazonov merged 2 commits into
PowerShell:masterPowerShell/PowerShell:masterfrom
iSazonov:remove-web-env-proxy-testsiSazonov/PowerShell:remove-web-env-proxy-testsCopy head branch name to clipboard

Conversation

@iSazonov

@iSazonov iSazonov commented May 3, 2018

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 iSazonov self-assigned this May 3, 2018
@iSazonov iSazonov requested review from SteveL-MSFT and markekraus May 3, 2018 07:31
@markekraus 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 iSazonov merged commit 4737eba into PowerShell:master May 8, 2018
@iSazonov iSazonov deleted the remove-web-env-proxy-tests branch May 8, 2018 04:15
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.