diff --git a/packages/testkit/test/deploy-feedback.test.ts b/packages/testkit/test/deploy-feedback.test.ts index 45dea9cd..f0877306 100644 --- a/packages/testkit/test/deploy-feedback.test.ts +++ b/packages/testkit/test/deploy-feedback.test.ts @@ -131,7 +131,9 @@ describe("Проверка здоровья и откат", () => { assert.equal((await mine()).length, 2); assert.match((await mine())[1]!, /остановлен/); assert.match((await mine())[1]!, /больше не пробует/); - await s.tp.waitLog("the agent is told to stop", (e) => JSON.stringify(e).includes("это предел")); + // Six messages reach the busy agent one turn at a time (~4 s each with the mock): the sixth + // comes ~25 s in, so the default 25 s wait is a coin toss on a loaded CI runner. + await s.tp.waitLog("the agent is told to stop", (e) => JSON.stringify(e).includes("это предел"), 90_000); assert.equal((await core.getPlatformDelay(db, s.scope, "deploy"))!.exhausted, true); await s.rel("00000007", "rolled_back"); assert.equal((await mine()).length, 2, "after the limit nothing new");