We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9e2967 commit f820b34Copy full SHA for f820b34
tests/PSParallelPipeline.tests.ps1
@@ -159,9 +159,9 @@ Describe PSParallelPipeline {
159
ThrottleLimit = 5
160
TimeOutSeconds = 1
161
ErrorAction = 'Stop'
162
- ScriptBlock = { Start-Sleep 10 }
+ ScriptBlock = { $_; Start-Sleep 10 }
163
}
164
- 1..100 | Invoke-Parallel @invokeParallelSplat
+ 1..100000 | Invoke-Parallel @invokeParallelSplat
165
} | Should -Throw -ExceptionType ([TimeoutException])
166
$timer.Stop()
167
$timer.Elapsed | Should -BeLessOrEqual ([timespan]::FromSeconds(1.2))
0 commit comments