File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -116,9 +116,11 @@ jobs:
116116
117117 Write-Host "===== starting $Label ====="
118118 $process = Start-Process -FilePath $FilePath -ArgumentList $ArgumentList -NoNewWindow -PassThru
119- if (-not ($process | Wait-Process -Timeout $TimeoutSeconds -ErrorAction SilentlyContinue)) {
119+ $null = $process | Wait-Process -Timeout $TimeoutSeconds -ErrorAction SilentlyContinue
120+ $process.Refresh()
121+ if (-not $process.HasExited) {
120122 Write-Host "===== timeout in $Label ====="
121- Get-Process -Id $process.Id | Format-List *
123+ Get-Process -Id $process.Id -ErrorAction SilentlyContinue | Format-List *
122124 tasklist /FI "PID eq $($process.Id)"
123125 Stop-Process -Id $process.Id -Force
124126 throw "$Label timed out after $TimeoutSeconds seconds"
@@ -146,8 +148,8 @@ jobs:
146148 if : always()
147149 continue-on-error : true
148150 env :
149- QS_EXTENDED_TESTS : " 1 "
150- run : ctest --test-dir build --output-on-failure -V --timeout 5400
151+ QS_EXTENDED_TESTS : " 0 "
152+ run : ctest --test-dir build --output-on-failure -V
151153
152154 - name : Upload debug artifacts
153155 if : always()
Original file line number Diff line number Diff line change @@ -132,5 +132,4 @@ if(QDATA_BUILD_TESTS)
132132 $<TARGET_FILE :qdata_roundtrip_file >
133133 $<TARGET_FILE :qdata_roundtrip_memory >
134134 )
135- set_tests_properties (qdata_roundtrip_qs2 PROPERTIES TIMEOUT 5400 )
136135endif ()
You can’t perform that action at this time.
0 commit comments