Skip to content

fix(psresourcelist): Get operation filters out resources on installed version - #1998

Merged
alerickson merged 3 commits into
PowerShell:masterfrom
Gijsreyn:gh-1997/main/fix-psresourcelist-versioning
Sep 18, 2026
Merged

alerickson merged 3 commits into
PowerShell:masterfrom
Gijsreyn:gh-1997/main/fix-psresourcelist-versioning

Fix test

9b76b77
Select commit
Loading
Failed to load commit list.
Azure Pipelines / PowerShell.PSResourceGet succeeded Sep 18, 2026 in 21m 35s

Build #PowerShell.PSResourceGet-2609.17005 had test failures

Details

Tests

  • Failed: 100 (0.32%)
  • Passed: 29,129 (94.49%)
  • Other: 1,597 (5.18%)
  • Total: 30,826

Annotations

Check failure on line 1 in Test Uninstall-PSResource for Modules.Uninstall a specific script by name

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Test Uninstall-PSResource for Modules.Uninstall a specific script by name

One or more errors occurred. (Root element is missing.)
Raw output
at <ScriptBlock>, /home/vsts/work/1/s/test/UninstallPSResourceTests/UninstallPSResource.Tests.ps1: line 56
56:         $null = Install-PSResource $testScriptName -Repository $PSGalleryName -TrustRepository

Check failure on line 1 in Test HTTP Update-PSResource for V2 Server Protocol.Update resource to explicit prerelease version using NuGet syntax

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Test HTTP Update-PSResource for V2 Server Protocol.Update resource to explicit prerelease version using NuGet syntax

Expected $true, but got $false.
Raw output
at <ScriptBlock>, /home/vsts/work/1/s/test/UpdatePSResourceTests/UpdatePSResourceV2.Tests.ps1: line 193
193:         $isPkgUpdated | Should -Be $true

Check failure on line 1 in Test Install-PSResource for V2 Server scenarios.Install resource under CurrentUser scope - Windows only

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Test Install-PSResource for V2 Server scenarios.Install resource under CurrentUser scope - Windows only

One or more errors occurred. (Root element is missing.)
Raw output
at <ScriptBlock>, D:\a\1\s\test\InstallPSResourceTests\InstallPSResourceV2Server.Tests.ps1: line 229
229:         Install-PSResource -Name $testModuleName -Repository $PSGalleryName -TrustRepository -Scope CurrentUser

Check failure on line 1 in Test Install-PSResource for V2 Server scenarios.Reinstall resource that is already installed with -Reinstall parameter

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Test Install-PSResource for V2 Server scenarios.Reinstall resource that is already installed with -Reinstall parameter

Expected 'test_module', but got $null.
Raw output
at <ScriptBlock>, D:\a\1\s\test\InstallPSResourceTests\InstallPSResourceV2Server.Tests.ps1: line 280
280:         $pkg.Name | Should -Be $testModuleName