From 8376af204af4753eb3c37e971874c653a95786c9 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Thu, 23 Oct 2025 13:39:38 +0100 Subject: [PATCH] Bump timeout for `analyze-action-env` test --- src/analyze-action-env.test.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/analyze-action-env.test.ts b/src/analyze-action-env.test.ts index c26a92882..c39f31d76 100644 --- a/src/analyze-action-env.test.ts +++ b/src/analyze-action-env.test.ts @@ -24,6 +24,9 @@ setupTests(test); // but the first test would fail. test("analyze action with RAM & threads from environment variables", async (t) => { + // This test frequently times out on Windows with the default timeout, so we bump + // it a bit to 20s. + t.timeout(1000 * 20); await util.withTmpDir(async (tmpDir) => { process.env["GITHUB_SERVER_URL"] = util.GITHUB_DOTCOM_URL; process.env["GITHUB_REPOSITORY"] = "github/codeql-action-fake-repository";