mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Rename Wait-CompleteExecution to Wait-UntilTrue
This commit is contained in:
committed by
Jason Shirk
parent
684a25b9ea
commit
f4f576c92b
@@ -23,7 +23,7 @@ Describe 'native commands lifecycle' -tags 'Feature' {
|
||||
|
||||
# waiting 30 seconds, because powershell startup time could be long on the slow machines,
|
||||
# such as CI
|
||||
Wait-CompleteExecution { $rs.RunspaceAvailability -eq 'Available' } -timeout 30000 -interval 100 | Should Be $true
|
||||
Wait-UntilTrue { $rs.RunspaceAvailability -eq 'Available' } -timeout 30000 -interval 100 | Should Be $true
|
||||
|
||||
$ps.Stop()
|
||||
$rs.ResetRunspaceState()
|
||||
|
||||
Reference in New Issue
Block a user