We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 163502b commit 5d42c18Copy full SHA for 5d42c18
src/test/java/com/uber/cadence/workflow/WorkflowTest.java
@@ -661,10 +661,8 @@ public String execute(String taskList) {
661
}
662
663
@Test
664
- public void WorkflowsWithFailedPromisesCanBeCancelled() {
665
- worker.registerWorkflowImplementationTypes(
666
- TestCancellationForWorkflowsWithFailedPromises.class);
667
- testEnvironment.start();
+ public void workflowsWithFailedPromisesCanBeCancelled() {
+ startWorkerFor(TestCancellationForWorkflowsWithFailedPromises.class);
668
WorkflowStub client =
669
workflowClient.newUntypedWorkflowStub(
670
"TestWorkflow1::execute", newWorkflowOptionsBuilder(taskList).build());
0 commit comments