From 65d678b7ff5c5df47d04999521210a0ff0f269ed Mon Sep 17 00:00:00 2001 From: kirillk Date: Mon, 3 Aug 2026 16:07:34 -0400 Subject: [PATCH] test(cli): relax Windows cleanup runner deadline --- packages/opencode/test/kilocode/test-runner-cleanup.test.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/opencode/test/kilocode/test-runner-cleanup.test.ts b/packages/opencode/test/kilocode/test-runner-cleanup.test.ts index 23f1432fc3b..7c5dbf18025 100644 --- a/packages/opencode/test/kilocode/test-runner-cleanup.test.ts +++ b/packages/opencode/test/kilocode/test-runner-cleanup.test.ts @@ -144,7 +144,8 @@ describe("test runner cleanup", () => { const stderr = new Response(proc.stderr).text() try { - const code = await deadline(proc.exited, 15_000) + const limit = process.platform === "win32" ? 30_000 : 15_000 + const code = await deadline(proc.exited, limit) const output = await Promise.all([stdout, stderr]) expect(code, output[1] || output[0]).not.toBe(0) expect(output[0]).toContain("TIME") @@ -167,7 +168,7 @@ describe("test runner cleanup", () => { await proc.exited await fs.rm(file, { force: true }) } - }, 30_000) + }, 45_000) test.skipIf(process.platform === "win32")( "bounds inherited output after the test process exits",