Bugfix: Update-PSResource should not re-install dependency packages which already satisfy dependency criteria - #1915
Build #PowerShell.PSResourceGet-2512.02003 had test failures
Details
- Failed: 44 (0.47%)
- Passed: 8,741 (94.19%)
- Other: 495 (5.33%)
- Total: 9,280
Annotations
azure-pipelines / PowerShell.PSResourceGet
Test Find-PSResource for searching and looping through repositories.find resource that has CommandName 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 9, but got 1.
Raw output
at <ScriptBlock>, D:\a\1\s\test\FindPSResourceTests\FindPSResourceRepositorySearching.Tests.ps1: line 464
464: $res.Count | Should -BeGreaterOrEqual 9
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>, D:\a\1\s\test\FindPSResourceTests\FindPSResourceRepositorySearching.Tests.ps1: line 512
512: $res.Count | Should -BeGreaterOrEqual 9
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>, D:\a\1\s\test\FindPSResourceTests\FindPSResourceRepositorySearching.Tests.ps1: line 537
537: $err | Should -HaveCount 0
azure-pipelines / PowerShell.PSResourceGet
Test Find-PSResource for searching and looping through repositories.find resource given CommandName from all repositories where it exists (-Repository with multiple non-wildcard values)
Expected the actual value to be greater than or equal to 9, but got 1.
Raw output
at <ScriptBlock>, D:\a\1\s\test\FindPSResourceTests\FindPSResourceRepositorySearching.Tests.ps1: line 595
595: $res.Count | Should -BeGreaterOrEqual 9