Skip to content

Commit 1415fd8

Browse files
authored
Fix failing CAN termination test (#1801)
1 parent 4a99cee commit 1415fd8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/test/src/test-integration-split-two.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -664,8 +664,8 @@ test.serial('Handle from WorkflowClient.start terminates run after continue as n
664664
});
665665
await worker.runUntil(async () => {
666666
await t.throwsAsync(handleFromGet.result(), { instanceOf: WorkflowContinuedAsNewError });
667-
await handleFromStart.terminate();
668-
await t.throwsAsync(handleFromStart.result(), { message: 'Workflow execution terminated' });
667+
await handleFromStart.terminate('Expect workflow to terminate due to CAN');
668+
await t.throwsAsync(handleFromStart.result(), { message: 'Expect workflow to terminate due to CAN' });
669669
});
670670
});
671671

0 commit comments

Comments
 (0)