Give the native layout and metadata emission test 600 seconds

The sanitized run of "native LLVM layout and metadata emission (llvm)"
takes 170 to 300 seconds in its CI shard beside the shard's other tests,
against the suite's 300-second test timeout. On a quiet 8-vCPU machine it
takes 130 to 160 seconds.
This commit is contained in:
Chris Tate
2026-10-26 20:50:23 -05:00
parent 807f5f6712
commit 9d0ca5f641
+3 -1
View File
@@ -59,7 +59,9 @@ test("the production layout and metadata stage lowers statically", async () => {
});
for (const backend of ["llvm"] as const) {
test(`native LLVM layout and metadata emission (${backend})`, async () => {
// The sanitized dev build of the stage takes 170 to 300 s of CI time beside
// its shard's other tests.
test(`native LLVM layout and metadata emission (${backend})`, { timeout: 600_000 }, async () => {
const dir = mkdtempSync(
join(process.platform === "win32" ? tmpdir() : "/tmp", "scriptc-native-emission-"),
);