Skip to content

Commit 1c03f30

Browse files
authored
add missing case in get close status (#158)
1 parent 016b470 commit 1c03f30

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/com/uber/cadence/internal/testservice/TestWorkflowMutableStateImpl.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,8 @@ public Optional<WorkflowExecutionCloseStatus> getCloseStatus() {
209209
return Optional.of(WorkflowExecutionCloseStatus.CANCELED);
210210
case COMPLETED:
211211
return Optional.of(WorkflowExecutionCloseStatus.COMPLETED);
212+
case CONTINUED_AS_NEW:
213+
return Optional.of(WorkflowExecutionCloseStatus.CONTINUED_AS_NEW);
212214
}
213215
throw new IllegalStateException("unreachable");
214216
}

0 commit comments

Comments
 (0)