From bf024b8f272b60eb0e69d99a54f21912ea321915 Mon Sep 17 00:00:00 2001 From: Viren Baraiya Date: Tue, 2 Jul 2024 12:20:19 -0700 Subject: [PATCH] fix tests --- .../integration/HierarchicalForkJoinSubworkflowRerunSpec.groovy | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test-harness/src/test/groovy/com/netflix/conductor/test/integration/HierarchicalForkJoinSubworkflowRerunSpec.groovy b/test-harness/src/test/groovy/com/netflix/conductor/test/integration/HierarchicalForkJoinSubworkflowRerunSpec.groovy index 6152ce355..c1c93f304 100644 --- a/test-harness/src/test/groovy/com/netflix/conductor/test/integration/HierarchicalForkJoinSubworkflowRerunSpec.groovy +++ b/test-harness/src/test/groovy/com/netflix/conductor/test/integration/HierarchicalForkJoinSubworkflowRerunSpec.groovy @@ -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 @@ -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