Skip to content

Fix catalog access#1831

Merged
adityapatwardhan merged 4 commits into
masterfrom
FixCatalogAccess
Jun 18, 2025
Merged

Fix catalog access#1831
adityapatwardhan merged 4 commits into
masterfrom
FixCatalogAccess

Fixup error messages

4642ea1
Select commit
Loading
Failed to load commit list.
Azure Pipelines / PowerShell.PSResourceGet succeeded Jun 17, 2025 in 8m 58s

Build #PowerShell.PSResourceGet-2506.17002 had test failures

Details

Tests

  • Failed: 27 (0.24%)
  • Passed: 10,729 (95.40%)
  • Other: 490 (4.36%)
  • Total: 11,246

Annotations

Check failure on line 1 in Test Install-PSResource for searching and looping through repositories.install resources from highest pattern matching repository where it exists (-Repository with wildcard)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Test Install-PSResource for searching and looping through repositories.install resources from highest pattern matching repository where it exists (-Repository with wildcard)

Expected an empty collection, but got collection with size 1 @('Response status code does not indicate success: 504 (Gateway Time-out).' Request sent: 'https://www.powershellgallery.com/api/v2/FindPackagesById()?$filter=Id+eq+%27test_script%27+and+IsLatestVersion+eq+true&$inlinecount=allpages&id=%27test_script%27').
Raw output
at <ScriptBlock>, /Users/runner/work/1/s/test/InstallPSResourceTests/InstallPSResourceRepositorySearching.Tests.ps1: line 88
88:         $err | Should -HaveCount 0

Check failure on line 1 in Test Install-PSResource for V2 Server scenarios.Install specific module resource by name

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Test Install-PSResource for V2 Server scenarios.Install specific module resource by name

Expected 'test_module', but got $null.
Raw output
at <ScriptBlock>, /Users/runner/work/1/s/test/InstallPSResourceTests/InstallPSResourceV2Server.Tests.ps1: line 58
58:         $pkg.Name | Should -Be $testModuleName

Check failure on line 1 in Test Install-PSResource for V2 Server scenarios.Install resource with latest (including prerelease) version given Prerelease parameter

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Test Install-PSResource for V2 Server scenarios.Install resource with latest (including prerelease) version given Prerelease parameter

Expected 'test_module', but got $null.
Raw output
at <ScriptBlock>, /Users/runner/work/1/s/test/InstallPSResourceTests/InstallPSResourceV2Server.Tests.ps1: line 144
144:         $pkg.Name | Should -Be $testModuleName

Check failure on line 1 in Test Install-PSResource for V2 Server scenarios.Should install resource given name and exact version with bracket syntax

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Test Install-PSResource for V2 Server scenarios.Should install resource given name and exact version with bracket syntax

Expected 'test_module', but got $null.
Raw output
at <ScriptBlock>, /Users/runner/work/1/s/test/InstallPSResourceTests/InstallPSResourceV2Server.Tests.ps1: line 102
102:         $pkg.Name | Should -Be $testModuleName