Skip to content

Commit 152bca8

Browse files
authored
[CI] Improve Windows hang detection script for unittests (#17164)
We just had a unit test hang issue [here](#17168) that broke a ton of PRs, so improve the script to detect that case. Signed-off-by: Sarnie, Nick <[email protected]>
1 parent 3bd6b44 commit 152bca8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

devops/scripts/windows_detect_hung_tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
$exitCode = 0
2-
$hungTests = Get-Process | Where-Object { ($_.Path -match "llvm\\install") -or ($_.Path -match "llvm\\build-e2e") }
2+
$hungTests = Get-Process | Where-Object { ($_.Path -match "llvm\\install") -or ($_.Path -match "llvm\\build-e2e") -or ($_.Path -match "llvm\\build") }
33
$hungTests | Foreach-Object {
44
$exitCode = 1
55
echo "Test $($_.Path) hung!"

0 commit comments

Comments
 (0)