Rename Wait-CompleteExecution to Wait-UntilTrue

This commit is contained in:
Sergei Vorobev
2017-01-12 14:25:07 -08:00
committed by Jason Shirk
parent 684a25b9ea
commit f4f576c92b
3 changed files with 4 additions and 4 deletions
@@ -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()