From d82ba11ce2902ef7b8ad4970e6167a7737bdaa78 Mon Sep 17 00:00:00 2001 From: morluto <76467478+morluto@users.noreply.github.com> Date: Thu, 29 Oct 2026 14:35:11 +0800 Subject: [PATCH] test(ci): allow more time for Windows CLI subprocesses --- .../cli/referenceSourceImportStatus.test.ts | 1 + .../process-global/updateMaintenance.test.ts | 22 +++++++++++-------- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/tests/boundary/cli/referenceSourceImportStatus.test.ts b/tests/boundary/cli/referenceSourceImportStatus.test.ts index 5fa336b11d..a9565c09bc 100644 --- a/tests/boundary/cli/referenceSourceImportStatus.test.ts +++ b/tests/boundary/cli/referenceSourceImportStatus.test.ts @@ -73,6 +73,7 @@ describe("compiled Windows reference-source import", () => { }); } else expect(result.stderr).toBe(""); }, + 60_000, ); } }); diff --git a/tests/process-global/updateMaintenance.test.ts b/tests/process-global/updateMaintenance.test.ts index 340898b455..5fdb5b818f 100644 --- a/tests/process-global/updateMaintenance.test.ts +++ b/tests/process-global/updateMaintenance.test.ts @@ -569,15 +569,19 @@ describe("updated executable maintenance planning", () => { }); describe("update subprocess boundaries", () => { - cliTest("exposes update in CLI help", async ({ cli }) => { - const help = await cli.run({ - arguments: ["--help"], - environment: process.env, - }); - expect(help.exitCode, help.stderr).toBe(0); - expect(help.stdout).toMatch(/^\s{2}update\s/mu); - expect(help.stdout).not.toMatch(/^\s{2}upgrade\s/mu); - }); + cliTest( + "exposes update in CLI help", + async ({ cli }) => { + const help = await cli.run({ + arguments: ["--help"], + environment: process.env, + }); + expect(help.exitCode, help.stderr).toBe(0); + expect(help.stdout).toMatch(/^\s{2}update\s/mu); + expect(help.stdout).not.toMatch(/^\s{2}upgrade\s/mu); + }, + 60_000, + ); cliTest("rejects the removed upgrade CLI command", async ({ cli }) => { const removed = await cli.run({