Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
v1r3n committed Jul 2, 2024
1 parent ac6f13f commit bf024b8
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ class HierarchicalForkJoinSubworkflowRerunSpec extends AbstractSpecification {
correlationId, input, null)

then: "verify that the workflow is in a RUNNING state"
workflowExecutor.decide(rootWorkflowId)
with(workflowExecutionService.getExecutionStatus(rootWorkflowId, true)) {
status == Workflow.WorkflowStatus.RUNNING
tasks.size() == 4
Expand Down Expand Up @@ -115,6 +116,7 @@ class HierarchicalForkJoinSubworkflowRerunSpec extends AbstractSpecification {

and: "verify that the mid-level workflow is RUNNING, and first task is in SCHEDULED state"
midLevelWorkflowId = rootWorkflowInstance.tasks[1].subWorkflowId
workflowExecutor.decide(midLevelWorkflowId)
with(workflowExecutionService.getExecutionStatus(midLevelWorkflowId, true)) {
status == Workflow.WorkflowStatus.RUNNING
tasks.size() == 4
Expand Down

0 comments on commit bf024b8

Please sign in to comment.