mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-02 07:43:42 +08:00
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:
@@ -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-"),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user