Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Commit

Permalink
Tryong to stabilize test
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-farache committed Jun 27, 2023
1 parent 829a436 commit f367e22
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ public void runRestartWorkFlowComplex() throws ApiException {
}

@Test
public void runRestartWorkFlowComplexMultipleTimes() throws ApiException {
public void runRestartWorkFlowComplexMultipleTimes() throws ApiException, InterruptedException {
log.info("******** Running The Complex workFlow multiple times ********");
TestComponents components = new WorkFlowTestBuilder().withDefaultProject().withWorkFlowDefinition(WORKFLOW_NAME)
.build();
Expand Down Expand Up @@ -354,6 +354,7 @@ public void runRestartWorkFlowComplexMultipleTimes() throws ApiException {
.getStatus(restartedWorkFlowStatusResponseDTO.getWorkFlowExecutionId());
assertEquals(workFlowResponseDTO.getWorkFlowExecutionId(),
restartedWorkflowStatus.getOriginalExecutionId());
Thread.sleep(2000);
}
}

Expand Down

0 comments on commit f367e22

Please sign in to comment.