Skip to content

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

Merged
Travis Plunk (TravisEz13) merged 1 commit into
PowerShell:masterfrom
SteveL-MSFT:test-connection-test
Oct 11, 2018
Merged

Travis Plunk (TravisEz13) merged 1 commit into
PowerShell:masterfrom
SteveL-MSFT:test-connection-test

Conversation

@SteveL-MSFT

@SteveL-MSFT Steve Lee (SteveL-MSFT) commented Oct 11, 2018 •

Copy link
Copy Markdown
Member

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
Travis Plunk (TravisEz13) merged commit 5b4e9a9 into PowerShell:master Oct 11, 2018
Travis Plunk (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
Aditya Patwardhan (adityapatwardhan) pushed a commit to adityapatwardhan/PowerShell that referenced this pull request Apr 9, 2019
@SteveL-MSFT
Steve Lee (SteveL-MSFT) deleted the test-connection-test branch March 10, 2020 21:01
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.

3 participants