Skip to content

fix string contains condition of test

2647572
Select commit
Loading
Failed to load commit list.
Draft

Local repository network connection failure should write warning or error #1924

fix string contains condition of test
2647572
Select commit
Loading
Failed to load commit list.
Azure Pipelines / PowerShell.PSResourceGet failed Jan 9, 2026 in 41m 48s

Build #PowerShell.PSResourceGet-2601.09002 had test failures

Details

Tests

  • Failed: 16 (0.38%)
  • Passed: 3,998 (94.34%)
  • Other: 224 (5.29%)
  • Total: 4,238

Annotations

Check failure on line 6137 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Build log #L6137

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 6133 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Build log #L6133

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 6575 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Build log #L6575

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 8399 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Build log #L8399

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 Find-PSResource for local repositories.Find should not silently fail if network connection to local private repository cannot be established and remainder repositories should be searched

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Test Find-PSResource for local repositories.Find should not silently fail if network connection to local private repository cannot be established and remainder repositories should be searched

Invalid pattern '*\\localhost\PSRepoLocal*' at offset 1. Quantifier '*' following nothing.
Raw output
at <ScriptBlock>, /home/vsts/work/1/s/test/FindPSResourceTests/FindPSResourceLocal.Tests.ps1: line 356
356:         $WarningVar[0] | Should -Match "*$($privateRepo.Uri.LocalPath)*"

Check failure on line 1 in Test Find-PSResource for local repositories.Find should not silently fail if network connection to local private repository cannot be established and package version was provided and remainder repositories should be searched

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Test Find-PSResource for local repositories.Find should not silently fail if network connection to local private repository cannot be established and package version was provided and remainder repositories should be searched

Invalid pattern '*\\localhost\PSRepoLocal*' at offset 1. Quantifier '*' following nothing.
Raw output
at <ScriptBlock>, /home/vsts/work/1/s/test/FindPSResourceTests/FindPSResourceLocal.Tests.ps1: line 365
365:         $WarningVar[0] | Should -Match "*$($privateRepo.Uri.LocalPath)*"

Check failure on line 1 in Test Install-PSResource for local repositories.Install should not silently fail if network connection to local private repository cannot be established and package version was provided and remainder repositories should be searched

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Test Install-PSResource for local repositories.Install should not silently fail if network connection to local private repository cannot be established and package version was provided and remainder repositories should be searched

Invalid pattern '*\\localhost\PSRepoLocal*' at offset 1. Quantifier '*' following nothing.
Raw output
at <ScriptBlock>, /home/vsts/work/1/s/test/InstallPSResourceTests/InstallPSResourceLocal.Tests.ps1: line 314
314:         $WarningVar[0] | Should -Match "*$($privateRepo.Uri.LocalPath)*"

Check failure on line 1 in Test Install-PSResource for local repositories.Install should not silently fail if network connection to local private repository cannot be established and remainder repositories should be searched

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Test Install-PSResource for local repositories.Install should not silently fail if network connection to local private repository cannot be established and remainder repositories should be searched

Invalid pattern '*\\localhost\PSRepoLocal*' at offset 1. Quantifier '*' following nothing.
Raw output
at <ScriptBlock>, /home/vsts/work/1/s/test/InstallPSResourceTests/InstallPSResourceLocal.Tests.ps1: line 305
305:         $WarningVar[0] | Should -Match "*$($privateRepo.Uri.LocalPath)*"