authorgravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2025-09-13 16:22:44+01:00
committergravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2025-10-18 09:28:43+01:00
loga7251e41914c5b24c27ed2669fce2a802a052c05
treed9f0f81dfc0df8d2543ed47f950723f872bb3d4a
parentb866c14328f0779b38f073b2ee3a8a3e437d129c
signaturelock-open Commit is signed but in an unrecognized format.

ci: bump unit test timeouts


8 files changed, 8 insertions(+), 8 deletions(-)

ci/riscv64-linux-debug.sh+1-1
......@@ -52,4 +52,4 @@ stage3-debug/bin/zig build test-cases test-modules test-unit test-c-abi test-sta
5252 -Dtarget=native-native-musl \
5353 --search-prefix "$PREFIX" \
5454 --zig-lib-dir "$PWD/../lib" \
55 --test-timeout-ms 60_000
55 --test-timeout-ms 120_000
ci/riscv64-linux-release.sh+1-1
......@@ -52,4 +52,4 @@ stage3-release/bin/zig build test-cases test-modules test-unit test-c-abi test-s
5252 -Dtarget=native-native-musl \
5353 --search-prefix "$PREFIX" \
5454 --zig-lib-dir "$PWD/../lib" \
55 --test-timeout-ms 60_000
55 --test-timeout-ms 120_000
ci/x86_64-linux-debug-llvm.sh+1-1
......@@ -62,4 +62,4 @@ stage3-debug/bin/zig build test docs \
6262 --search-prefix "$PREFIX" \
6363 --zig-lib-dir "$PWD/../lib" \
6464 -Denable-superhtml \
65 --test-timeout-ms 60_000
65 --test-timeout-ms 240_000
ci/x86_64-linux-debug.sh+1-1
......@@ -62,4 +62,4 @@ stage3-debug/bin/zig build test docs \
6262 --search-prefix "$PREFIX" \
6363 --zig-lib-dir "$PWD/../lib" \
6464 -Denable-superhtml \
65 --test-timeout-ms 60_000
65 --test-timeout-ms 240_000
ci/x86_64-linux-release.sh+1-1
......@@ -64,7 +64,7 @@ stage3-release/bin/zig build test docs \
6464 --search-prefix "$PREFIX" \
6565 --zig-lib-dir "$PWD/../lib" \
6666 -Denable-superhtml \
67 --test-timeout-ms 60_000
67 --test-timeout-ms 240_000
6868
6969# Ensure that stage3 and stage4 are byte-for-byte identical.
7070stage3-release/bin/zig build \
ci/x86_64-windows-debug.ps1+1-1
......@@ -60,7 +60,7 @@ Write-Output "Main test suite..."
6060 -Dskip-non-native `
6161 -Dskip-release `
6262 -Denable-symlinks-windows `
63 --test-timeout-ms 60_000
63 --test-timeout-ms 240_000
6464CheckLastExitCode
6565
6666Write-Output "Build x86_64-windows-msvc behavior tests using the C backend..."
ci/x86_64-windows-release.ps1+1-1
......@@ -59,7 +59,7 @@ Write-Output "Main test suite..."
5959 -Dstatic-llvm `
6060 -Dskip-non-native `
6161 -Denable-symlinks-windows `
62 --test-timeout-ms 60_000
62 --test-timeout-ms 240_000
6363CheckLastExitCode
6464
6565# Ensure that stage3 and stage4 are byte-for-byte identical.
lib/std/Build/Step/Run.zig+1-1
......@@ -1814,7 +1814,7 @@ fn pollZigTest(
18141814 // test. For instance, if the test runner leaves this much time between us requesting a test to
18151815 // start and it acknowledging the test starting, we terminate the child and raise an error. This
18161816 // *should* never happen, but could in theory be caused by some very unlucky IB in a test.
1817 const response_timeout_ns = 30 * std.time.ns_per_s;
1817 const response_timeout_ns = options.unit_test_timeout_ns orelse 60 * std.time.ns_per_s;
18181818
18191819 const stdout = poller.reader(.stdout);
18201820 const stderr = poller.reader(.stderr);