Skip to content

Commit aecca68

Browse files
author
Shailesh Jagannath Padave
committed
Add more timeout
1 parent 0fe8fe3 commit aecca68

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/core/__test__/executor.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ describe("Execute with Return Strategy and Consistency", () => {
377377
executor,
378378
workflowId,
379379
'COMPLETED',
380-
10000, // 10 seconds max wait
380+
20000, // 20 seconds max wait
381381
200 // 200ms poll interval
382382
);
383383

@@ -446,7 +446,7 @@ describe("Execute with Return Strategy and Consistency", () => {
446446
await executor.signal(workflowId, TaskResultStatusEnum.COMPLETED, { result: "signal1" });
447447
await executor.signal(workflowId, TaskResultStatusEnum.COMPLETED, { result: "signal2" });
448448

449-
await TestUtil.waitForWorkflowStatus(executor, workflowId, 'COMPLETED', 10000, 200);
449+
await TestUtil.waitForWorkflowStatus(executor, workflowId, 'COMPLETED', 20000, 200);
450450
console.log(`✓ ${testCase.name} test completed successfully`);
451451
});
452452
});

0 commit comments

Comments
 (0)