Skip to content

Fix more tests

aac12bc
Select commit
Loading
Failed to load commit list.
Open

Register MAR as default trusted repository #1955

Fix more tests
aac12bc
Select commit
Loading
Failed to load commit list.
Azure Pipelines / PowerShell.PSResourceGet failed Mar 27, 2026 in 46m 23s

Build #PowerShell.PSResourceGet-2603.27003 had test failures

Details

Tests

  • Failed: 54 (1.26%)
  • Passed: 4,020 (93.53%)
  • Other: 224 (5.21%)
  • Total: 4,298

Annotations

Check failure on line 660 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Build log #L660

There are one or more test failures detected in result files. Detailed summary of published test results can be viewed in the Tests tab.

Check failure on line 6577 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Build log #L6577

There are one or more test failures detected in result files. Detailed summary of published test results can be viewed in the Tests tab.

Check failure on line 6585 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Build log #L6585

There are one or more test failures detected in result files. Detailed summary of published test results can be viewed in the Tests tab.

Check failure on line 7032 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Build log #L7032

There are one or more test failures detected in result files. Detailed summary of published test results can be viewed in the Tests tab.

Check failure on line 1 in Test Install-PSResource for MAR Repository.Should find resource given specific Name, Version null

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Test Install-PSResource for MAR Repository.Should find resource given specific Name, Version null

Expected '3.0.4', but got 5.3.3.
Raw output
at <ScriptBlock>, D:\a\1\s\test\InstallPSResourceTests\InstallPSResourceContainerRegistryServer.Tests.ps1: line 366
366:             $pkg.Version | Should -Be "3.0.4"

Check failure on line 1 in Test HTTP Find-PSResource for V2 Server Protocol.find resource given DscResourceName

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Test HTTP Find-PSResource for V2 Server Protocol.find resource given DscResourceName

Expected a value, but got $null or empty.
Raw output
at <ScriptBlock>, /home/vsts/work/1/s/test/FindPSResourceTests/FindPSResourceV2Server.Tests.ps1: line 367
367:         $res | Should -Not -BeNullOrEmpty

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

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 priority repository where it exists (without -Repository specified)

Expected an empty collection, but got collection with size 1 @(Response returned status code package: Not Found.).
Raw output
at <ScriptBlock>, /home/vsts/work/1/s/test/InstallPSResourceTests/InstallPSResourceRepositorySearching.Tests.ps1: line 40
40:         $err | Should -HaveCount 0

Check failure on line 1 in Test Install-PSResource for MAR Repository.Should find resource given specific Name, Version null

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Test Install-PSResource for MAR Repository.Should find resource given specific Name, Version null

Expected '3.0.4', but got 5.3.3.
Raw output
at <ScriptBlock>, /home/vsts/work/1/s/test/InstallPSResourceTests/InstallPSResourceContainerRegistryServer.Tests.ps1: line 366
366:             $pkg.Version | Should -Be "3.0.4"