Skip to content

Conversation

@PaulHigin
Copy link
Contributor

PR Summary

This PR disables the WMF link invocation test in WindowsInstaller.Tests.ps1 file, by marking it 'pending'.

Issue #13478

PR Context

It seems like whether these links are currently working should not affect PowerShell build. If it is important to track aliveness of these links, I fee they should be performed in tests specifically for that and not appended to PowerShell build tests.

PR Checklist

@daxian-dbw
Copy link
Member

@TravisEz13, if the that WMF 4 link is not coming back, then we potentially need to change the link in the installer script.

@daxian-dbw daxian-dbw merged commit ac5f5f9 into PowerShell:master Aug 19, 2020
@daxian-dbw daxian-dbw added the CL-Test Indicates that a PR should be marked as a test change in the Change Log label Aug 19, 2020
@daxian-dbw daxian-dbw added this to the 7.1.0-preview.7 milestone Aug 19, 2020
## We use a retry logic here. Retry for 5 times with 1 second interval.
It "Pre-Requisistes link for '<Name>' is reachable: <url>" -TestCases $linkCheckTestCases -Skip:$skipTest {
# It "Pre-Requisistes link for '<Name>' is reachable: <url>" -TestCases $linkCheckTestCases -Skip:$skipTest {
It "Pre-Requisistes link for '<Name>' is reachable: <url>" -TestCases $linkCheckTestCases -Pending {
Copy link
Member

Choose a reason for hiding this comment

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

We should use Set-ItResult -Pending -Because 'link is broken'
Don't need to go back and fix it, but it allows you not to remove the skip code.

@ghost
Copy link

ghost commented Sep 8, 2020

🎉v7.1.0-preview.7 has been released which incorporates this pull request.:tada:

Handy links:

rjmholt pushed a commit to rjmholt/PowerShell that referenced this pull request Jan 12, 2021
# Conflicts:
#	test/powershell/Installer/WindowsInstaller.Tests.ps1
@ghost
Copy link

ghost commented Jan 19, 2021

🎉v7.0.4 has been released which incorporates this pull request.:tada:

Handy links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Backport-7.0.x-Done CL-Test Indicates that a PR should be marked as a test change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants