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
@@ -58,7 +58,7 @@ Describe "It should be possible to reset runspace debugging" -tag "Feature" {
# Run script file until breakpoint hit.
$ar = $ps.AddScript("$scriptPath").BeginInvoke()
$completed = Wait-CompleteExecution { $rs.Debugger.InBreakPoint -eq $true } -timeout 10000 -interval 200
$completed = Wait-UntilTrue { $rs.Debugger.InBreakPoint -eq $true } -timeout 10000 -interval 200
$ps.Stop()
$rs.ResetRunspaceState()
}