Skip to content

Commit 63fe089

Browse files
authored
ci: increase node compat test timeout on Mac Intel (#31538)
It appears that Mac Intel runners are slower than before and multiple tests fail to complete in 10s. This PR increases timeout on Mac Intel to 20s.
1 parent 80e36b5 commit 63fe089

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/node_compat/run_all_test_unmodified.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ const testSuitePath = new URL(import.meta.resolve("./runner/suite/"));
2828
const testDirUrl = new URL("runner/suite/test/", import.meta.url).href;
2929
const IS_CI = !!Deno.env.get("CI");
3030
// The timeout ms for single test execution. If a single test didn't finish in this timeout milliseconds, the test is considered as failure
31-
const TIMEOUT = IS_CI ? 10_000 : 5000;
31+
const TIMEOUT = IS_CI
32+
? Deno.build.os === "darwin" && Deno.build.arch === "x86_64" ? 20_000 : 10_000
33+
: 5000;
3234

3335
// The metadata of the test report
3436
export type TestReportMetadata = {

0 commit comments

Comments
 (0)