Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
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
17 changes: 15 additions & 2 deletions 17 test/powershell/engine/Help/UpdatableHelpSystem.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,16 @@ function RunSaveHelpTests
try
{
$saveHelpFolder = Join-Path $TestDrive (Get-Random).ToString()
New-Item $saveHelpFolder -Force -ItemType Directory
New-Item $saveHelpFolder -Force -ItemType Directory > $null

It "Validate Save-Help for the '$moduleName' module" {
## Save help has intermittent connectivity issues for downloading PackageManagement help content.
## Hence the test has been marked as Pending.
if($moduleName -eq 'PackageManagement')
{
$pending = $true
}

It "Validate Save-Help for the '$moduleName' module" -Pending:$pending {

if ((Get-UICulture).Name -ne "en-Us")
{
Expand All @@ -245,6 +252,12 @@ function RunSaveHelpTests
ValidateSaveHelp -moduleName $moduleName -path $saveHelpFolder
}

## Reset pending state.
if($pending)
{
$pending = $false
}

if ($tag -eq "CI")
{
break
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.