From e35a488cf6e91ae2fd4f59890ec24e37d1a251f7 Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Sun, 11 Jan 2026 11:20:00 +0900 Subject: [PATCH] fix(test): extend timeout for resume sync test MIN_STABILITY_TIME_MS is 5000ms in implementation, but test timeout was only 5000ms. Extended to 10000ms to allow proper polling completion. --- src/tools/sisyphus-task/tools.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tools/sisyphus-task/tools.test.ts b/src/tools/sisyphus-task/tools.test.ts index d76c2f26..d26db75d 100644 --- a/src/tools/sisyphus-task/tools.test.ts +++ b/src/tools/sisyphus-task/tools.test.ts @@ -259,6 +259,7 @@ describe("sisyphus-task", () => { describe("resume with background parameter", () => { test("resume with background=false should wait for result and return content", async () => { + // Note: This test needs extended timeout because the implementation has MIN_STABILITY_TIME_MS = 5000 // #given const { createSisyphusTask } = require("./tools") @@ -319,7 +320,7 @@ describe("sisyphus-task", () => { // #then - should contain actual result, not just "Background task resumed" expect(result).toContain("This is the resumed task result") expect(result).not.toContain("Background task resumed") - }) + }, { timeout: 10000 }) test("resume with background=true should return immediately without waiting", async () => { // #given