ci: bump unit test timeouts

This commit is contained in:
mlugg 2025-09-13 16:22:44 +01:00 committed by Matthew Lugg
parent b866c14328
commit a7251e4191
No known key found for this signature in database
GPG Key ID: 3F5B7DCCBF4AF02E
8 changed files with 8 additions and 8 deletions

View File

@ -52,4 +52,4 @@ stage3-debug/bin/zig build test-cases test-modules test-unit test-c-abi test-sta
-Dtarget=native-native-musl \
--search-prefix "$PREFIX" \
--zig-lib-dir "$PWD/../lib" \
--test-timeout-ms 60_000
--test-timeout-ms 120_000

View File

@ -52,4 +52,4 @@ stage3-release/bin/zig build test-cases test-modules test-unit test-c-abi test-s
-Dtarget=native-native-musl \
--search-prefix "$PREFIX" \
--zig-lib-dir "$PWD/../lib" \
--test-timeout-ms 60_000
--test-timeout-ms 120_000

View File

@ -62,4 +62,4 @@ stage3-debug/bin/zig build test docs \
--search-prefix "$PREFIX" \
--zig-lib-dir "$PWD/../lib" \
-Denable-superhtml \
--test-timeout-ms 60_000
--test-timeout-ms 240_000

View File

@ -62,4 +62,4 @@ stage3-debug/bin/zig build test docs \
--search-prefix "$PREFIX" \
--zig-lib-dir "$PWD/../lib" \
-Denable-superhtml \
--test-timeout-ms 60_000
--test-timeout-ms 240_000

View File

@ -64,7 +64,7 @@ stage3-release/bin/zig build test docs \
--search-prefix "$PREFIX" \
--zig-lib-dir "$PWD/../lib" \
-Denable-superhtml \
--test-timeout-ms 60_000
--test-timeout-ms 240_000
# Ensure that stage3 and stage4 are byte-for-byte identical.
stage3-release/bin/zig build \

View File

@ -60,7 +60,7 @@ Write-Output "Main test suite..."
-Dskip-non-native `
-Dskip-release `
-Denable-symlinks-windows `
--test-timeout-ms 60_000
--test-timeout-ms 240_000
CheckLastExitCode
Write-Output "Build x86_64-windows-msvc behavior tests using the C backend..."

View File

@ -59,7 +59,7 @@ Write-Output "Main test suite..."
-Dstatic-llvm `
-Dskip-non-native `
-Denable-symlinks-windows `
--test-timeout-ms 60_000
--test-timeout-ms 240_000
CheckLastExitCode
# Ensure that stage3 and stage4 are byte-for-byte identical.

View File

@ -1814,7 +1814,7 @@ fn pollZigTest(
// test. For instance, if the test runner leaves this much time between us requesting a test to
// start and it acknowledging the test starting, we terminate the child and raise an error. This
// *should* never happen, but could in theory be caused by some very unlucky IB in a test.
const response_timeout_ns = 30 * std.time.ns_per_s;
const response_timeout_ns = options.unit_test_timeout_ns orelse 60 * std.time.ns_per_s;
const stdout = poller.reader(.stdout);
const stderr = poller.reader(.stderr);