diff --git a/src/cli/gateway.sigterm.test.ts b/src/cli/gateway.sigterm.test.ts index f613bf515..e7f39bac8 100644 --- a/src/cli/gateway.sigterm.test.ts +++ b/src/cli/gateway.sigterm.test.ts @@ -72,7 +72,7 @@ describe("gateway SIGTERM", () => { child = null; }); - it("exits 0 on SIGTERM", { timeout: 30_000 }, async () => { + it("exits 0 on SIGTERM", { timeout: 60_000 }, async () => { const port = await getFreePort(); const out: string[] = []; const err: string[] = []; @@ -113,7 +113,7 @@ describe("gateway SIGTERM", () => { child.stdout?.on("data", (d) => out.push(String(d))); child.stderr?.on("data", (d) => err.push(String(d))); - await waitForPortOpen(proc, out, err, port, 20_000); + await waitForPortOpen(proc, out, err, port, 45_000); proc.kill("SIGTERM");