Skip to content

address feedback - add comment and use InformationVariable in test

10bb9a8
Select commit
Loading
Failed to load commit list.
Merged

For Publish operation to ACR, non-anonymous access token should be retrieved #1918

address feedback - add comment and use InformationVariable in test
10bb9a8
Select commit
Loading
Failed to load commit list.
Azure Pipelines / PowerShell.PSResourceGet succeeded Dec 5, 2025 in 44m 9s

Build #PowerShell.PSResourceGet-2512.04009 had test failures

Details

Tests

  • Failed: 116 (0.70%)
  • Passed: 15,456 (93.89%)
  • Other: 890 (5.41%)
  • Total: 16,462

Annotations

Check failure on line 1 in Test Find-PSResource for searching and looping through repositories.not find resource and discard CommandName entry containing wildcard, but search for other non-wildcard CommandName entries (without -Repository specified)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Test Find-PSResource for searching and looping through repositories.not find resource and discard CommandName entry containing wildcard, but search for other non-wildcard CommandName entries (without -Repository specified)

Expected the actual value to be greater than or equal to 9, but got 1.
Raw output
at <ScriptBlock>, /home/vsts/work/1/s/test/FindPSResourceTests/FindPSResourceRepositorySearching.Tests.ps1: line 512
512:         $res.Count | Should -BeGreaterOrEqual 9

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

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Test Find-PSResource for searching and looping through repositories.find resources from all pattern matching repositories where it exists (-Repository with wildcard)

Expected an empty collection, but got collection with size 1 @(Package with CommandName 'Get-TargetResource' could not be found in registered repositories: 'PSGallery, NuGetGallery'.).
Raw output
at <ScriptBlock>, /home/vsts/work/1/s/test/FindPSResourceTests/FindPSResourceRepositorySearching.Tests.ps1: line 537
537:         $err | Should -HaveCount 0

Check failure on line 1 in Test Find-PSResource for searching and looping through repositories.find resource that has DSCResourceName specified from all repositories where it exists and not write errors where it does not exist (without -Repository specified)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Test Find-PSResource for searching and looping through repositories.find resource that has DSCResourceName specified from all repositories where it exists and not write errors where it does not exist (without -Repository specified)

Expected the actual value to be greater than or equal to 2, but got 1.
Raw output
at <ScriptBlock>, /home/vsts/work/1/s/test/FindPSResourceTests/FindPSResourceRepositorySearching.Tests.ps1: line 684
684:         $res.Count | Should -BeGreaterOrEqual 2

Check failure on line 1 in Test Find-PSResource for searching and looping through repositories.not find resource and discard DSCREsource entry containing wildcard, but search for other non-wildcard DSCResourceName entries (without -Repository specified)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Test Find-PSResource for searching and looping through repositories.not find resource and discard DSCREsource entry containing wildcard, but search for other non-wildcard DSCResourceName entries (without -Repository specified)

Expected the actual value to be greater than or equal to 2, but got 1.
Raw output
at <ScriptBlock>, /home/vsts/work/1/s/test/FindPSResourceTests/FindPSResourceRepositorySearching.Tests.ps1: line 732
732:         $res.Count | Should -BeGreaterOrEqual 2