Skip to content

Commit 4f53bcf

Browse files
committed
.
1 parent 0a8b5d2 commit 4f53bcf

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/windows.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff 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()

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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)
136135
endif()

0 commit comments

Comments
 (0)