PSResourceGet
PSResourceGet copied to clipboard
Refactor PSGet pipeline tests to speed up
Prerequisites
- [X] Write a descriptive title.
- [X] Make sure you are able to repro it on the latest released version
- [X] Search the existing issues.
Steps to reproduce
Pipeline build tests fail due to timeout on Windows PowerShell. Current tests use PSGallery, but timeout. Use local repository where possible and shorten test search scope.
Expected behavior
Tests should use local gallery where possible to speed up.
Actual behavior
Tests fail due to timeout on WindowsPowerShell, Update-PSResource tests specifically.
Error details
timeout error.
Environment data
ModuleType Version PreRelease Name ExportedCommands
---------- ------- ---------- ---- ----------------
Binary 3.0.12 beta PowerShellGet {Find-PSResource, Get-PSResource, Get-PSResourceRepository…
Script 2.2.5 PowerShellGet {Find-Command, Find-DscResource, Find-Module, Find-RoleCap…
Key : PSVersion
Value : 7.2.3
Name : PSVersion
Key : PSEdition
Value : Core
Name : PSEdition
Key : GitCommitId
Value : 7.2.3
Name : GitCommitId
Key : OS
Value : Microsoft Windows 10.0.22000
Name : OS
Key : Platform
Value : Win32NT
Name : Platform
Key : PSCompatibleVersions
Value : {1.0, 2.0, 3.0, 4.0…}
Name : PSCompatibleVersions
Key : PSRemotingProtocolVersion
Value : 2.3
Name : PSRemotingProtocolVersion
Key : SerializationVersion
Value : 1.1.0.1
Name : SerializationVersion
Key : WSManStackVersion
Value : 3.0
Name : WSManStackVersion
Visuals
No response