Skip to content

Commit f118b88

Browse files
authored
taskkill in success loop
1 parent 5cc4f3d commit f118b88

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ci/appveyor/integration-test.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,14 @@ $iteration = 0
5656
Write-Host "Deleting file $_.FullName after successful integration test completion"
5757
Remove-Item -path $_.FullName
5858
}
59+
taskkill /T /F /PID $tests.ID
5960
Exit 0
6061
}
6162
}
6263
start-sleep -seconds 1
6364
}
6465
Write-Host "Process has not completed after 300 seconds. Invoking timeout"
65-
Stop-ProcessTree -PID $tests.Id
66+
taskkill /T /F /PID $tests.ID
6667
Exit 1
6768
}
6869
Write-Host "After 3 attempts assuming broken"

0 commit comments

Comments
 (0)