Skip to content

Commit 81ff238

Browse files
fix(workflows-shared): increase timeout for multi-step test
The 'should increment step count for steps with the same name' test runs 3 sequential step.do calls, which needs more headroom than single-step tests on slow Windows CI runners. Bump its vi.waitUntil timeout from 5s to 10s.
1 parent 2bd04dd commit 81ff238

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/workflows-shared/tests/context.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,14 +224,15 @@ describe("Context", () => {
224224
}
225225
);
226226

227+
// Needs extra headroom: 3 sequential step.do calls + cold DO startup on Windows
227228
await vi.waitUntil(
228229
async () => {
229230
const logs = (await engineStub.readLogs()) as EngineLogs;
230231
return logs.logs.some(
231232
(val) => val.event === InstanceEvent.WORKFLOW_SUCCESS
232233
);
233234
},
234-
{ timeout: 5000 }
235+
{ timeout: 10000 }
235236
);
236237

237238
expect(receivedContexts[0]).toMatchObject({

0 commit comments

Comments
 (0)