Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions packages/core/e2e/e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2670,11 +2670,15 @@ describe('e2e', () => {
'fibonacciWorkflow - recursive workflow composition via start()',
{ timeout: 180_000 },
async () => {
// fib(6) = 8, spawns a tree of child workflow runs
const run = await start(await e2e('fibonacciWorkflow'), [6]);
// fib(5) = 5, spawns a tree of 15 runs (~14 concurrent parent polls at
// peak). fib(6)'s 25-run tree proved enough to saturate the scheduler
// past this test's budget under a concurrent suite (#2083); depth 4
// still exercises recursive start() composition with parallel children
// at every level, which is the subject here — the tree size is not.
const run = await start(await e2e('fibonacciWorkflow'), [5]);
trackRun(run);
const returnValue = await run.returnValue;
expect(returnValue).toBe(8);
expect(returnValue).toBe(5);
}
);

Expand Down
Loading