Skip to content

Fix Test-Connection test to use same API to resolve DNS as cmdlet making it more reliable #8003

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 1 commit into from
Oct 11, 2018

Conversation

SteveL-MSFT
Copy link
Member

@SteveL-MSFT SteveL-MSFT commented Oct 11, 2018

PR Summary

In AzDevOps Pipelines on Windows images, they have some sort of protection in place so that a reverse lookup returns the wrong name from a cache. Fix is to use the same API used in the cmdlet to resolve DNS.

PR Checklist

@TravisEz13 TravisEz13 merged commit 5b4e9a9 into PowerShell:master Oct 11, 2018
TravisEz13 added a commit to TravisEz13/PowerShell that referenced this pull request Nov 7, 2018
…s Windows (PowerShell#8003)

Change API to match cmdlet which is more reliable in AzDevOpsPipelines Windows (PowerShell#8003)

# Conflicts:
#	test/powershell/Modules/Microsoft.PowerShell.Management/Test-Connection.Tests.ps1
adityapatwardhan pushed a commit to adityapatwardhan/PowerShell that referenced this pull request Apr 9, 2019
@SteveL-MSFT SteveL-MSFT deleted the test-connection-test branch March 10, 2020 21:01
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.

3 participants