PSResourceRepository: Integration test with -Default
parameter fails
#401
Labels
help wanted
The issue is up for grabs for anyone in the community.
tests
The issue or pull request is about tests only.
Problem description
When the
PSGallery
is not present on the builders, adding it fails with the error "Value may not be null". This has been independently tested and the same configuration works, so it seems it is something isolated to the builders. WhenPowerShellGet 2.2.5
is loaded the error occurs. Removing PSGet 2.2.5 and importing1.0.0.1
fixes the issue.Example pipeline failure here:
https://dev.azure.com/dsccommunity/ComputerManagementDsc/_build/results?buildId=6992&view=logs&j=bb95b0b0-86ad-5f35-08c1-35aecf9ab8ed
This is obv low priority since the configuration does work, just not on the builders. It just means we're missing some integration test coverage.
Verbose logs
DSC configuration
Suggested solution
Check the build process for the builders themselves.
Operating system the target node is running
PowerShell version and build the target node is running
ComputerManagementDsc version
The text was updated successfully, but these errors were encountered: