X Tutup
The Wayback Machine - https://web.archive.org/web/20250731135253/https://github.com/PowerShell/PowerShell/pull/13479
Skip to content

Disable WMF link invocation test #13479

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
Aug 19, 2020
Merged

Disable WMF link invocation test #13479

merged 1 commit into from
Aug 19, 2020

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
@@ -21,7 +21,8 @@ Describe "Windows Installer" -Tags "Scenario" {
## Running 'Invoke-WebRequest' with WMF download URLs has been failing intermittently,
## because sometimes the URLs lead to a 'this download is no longer available' page.
## 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
X Tutup