Skip to content

Remove web cmdlet tests using proxy env variables #6808

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

Merged
merged 2 commits into from
May 8, 2018

Conversation

iSazonov
Copy link
Collaborator

@iSazonov iSazonov commented May 3, 2018

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 markekraus and SteveL-MSFT 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
@@ -505,8 +505,8 @@ Describe "Invoke-WebRequest tests" -Tags "Feature" {
}

$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
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
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