Skip to content

Commit

Permalink
fix e2e test
Browse files Browse the repository at this point in the history
Signed-off-by: Fabian Martinez <[email protected]>
  • Loading branch information
famarting committed Nov 25, 2024
1 parent c24897d commit 4ee9feb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/orchestration.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,13 +182,13 @@ describe("Durable Functions", () => {
await taskHubWorker.start();

const id = await taskHubClient.scheduleNewOrchestration(orchestratorParent, SUB_ORCHESTRATION_COUNT);
const state = await taskHubClient.waitForOrchestrationCompletion(id, undefined, 30);
const state = await taskHubClient.waitForOrchestrationCompletion(id, undefined, 43);

expect(state);
expect(state?.runtimeStatus).toEqual(OrchestrationStatus.ORCHESTRATION_STATUS_COMPLETED);
expect(state?.failureDetails).toBeUndefined();
expect(activityCounter).toEqual(SUB_ORCHESTRATION_COUNT * ACTIVITY_COUNT);
}, 31000);
}, 45000);

it("should allow waiting for multiple external events", async () => {
const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext, _: any): any {
Expand Down

0 comments on commit 4ee9feb

Please sign in to comment.