fix(test): increase timeouts for CI-flaky polling tests
- runner.test.ts: waitForEventProcessorShutdown timeout 50ms → 500ms (50ms was consistently too tight for CI runners) - tools.test.ts: MAX_POLL_TIME_MS 2000ms → 8000ms (polling timed out at ~2009ms on CI due to resource contention)
This commit is contained in:
@@ -45,7 +45,7 @@ describe("sisyphus-task", () => {
|
||||
STABILITY_POLLS_REQUIRED: 1,
|
||||
WAIT_FOR_SESSION_INTERVAL_MS: 10,
|
||||
WAIT_FOR_SESSION_TIMEOUT_MS: 1000,
|
||||
MAX_POLL_TIME_MS: 2000,
|
||||
MAX_POLL_TIME_MS: 8000,
|
||||
SESSION_CONTINUATION_STABILITY_MS: 50,
|
||||
})
|
||||
cacheSpy = spyOn(connectedProvidersCache, "readConnectedProvidersCache").mockReturnValue(["anthropic", "google", "openai"])
|
||||
|
||||
Reference in New Issue
Block a user