Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions test/powershell/engine/Help/UpdatableHelpSystem.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ function RunUpdateHelpTests

It ('Validate Update-Help for module ''{0}'' in {1}' -F $moduleName, [PSCustomObject] $updateScope) -Skip:(!(Test-CanWriteToPsHome) -and $userscope -eq $false) {

if ($markAsPending) {
if ($markAsPending -or ($IsLinux -and $moduleName -eq "PackageManagement")) {
Set-ItResult -Pending -Because "Update-Help from the web has intermittent connectivity issues. See issues #2807 and #6541."
return
}
Expand Down Expand Up @@ -333,9 +333,7 @@ Describe "Validate Update-Help from the Web for one PowerShell module." -Tags @(
$ProgressPreference = $SavedProgressPreference
}

## Update-Help from the web has intermittent connectivity issues that cause CI failures.
## Tests are marked as Pending to unblock work. See issues #2807 and #6541.
RunUpdateHelpTests -Tag "CI" -MarkAsPending
RunUpdateHelpTests -Tag "CI"
}

Describe "Validate Update-Help from the Web for one PowerShell module for user scope." -Tags @('CI', 'RequireAdminOnWindows', 'RequireSudoOnUnix') {
Expand All @@ -347,9 +345,7 @@ Describe "Validate Update-Help from the Web for one PowerShell module for user s
$ProgressPreference = $SavedProgressPreference
}

## Update-Help from the web has intermittent connectivity issues that cause CI failures.
## Tests are marked as Pending to unblock work. See issues #2807 and #6541.
RunUpdateHelpTests -Tag "CI" -UserScope -MarkAsPending
RunUpdateHelpTests -Tag "CI" -UserScope
}

Describe "Validate Update-Help from the Web for all PowerShell modules." -Tags @('Feature', 'RequireAdminOnWindows', 'RequireSudoOnUnix') {
Expand Down
Loading