Skip to content

Commit

Permalink
Debug integ test
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Widdis <widdis@gmail.com>
  • Loading branch information
dbwiddis committed Dec 28, 2023
1 parent 6d4e94c commit 32530ac
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,11 @@ public void testCreateAndProvisionRemoteModelWorkflow() throws Exception {

// Hit dry run
ResponseException exception = expectThrows(ResponseException.class, () -> createWorkflowValidation(cyclicalTemplate));
assertTrue(exception.getMessage().contains("Cycle detected: [workflow_step_2->workflow_step_1, workflow_step_1->workflow_step_2]"));
// output order not guaranteed
assertEquals("???", exception.getMessage());
assertTrue(exception.getMessage().contains("Cycle detected"));
assertTrue(exception.getMessage().contains("workflow_step_2->workflow_step_1"));
assertTrue(exception.getMessage().contains("workflow_step_1->workflow_step_2"));

// Hit Create Workflow API with original template
Response response = createWorkflow(template);
Expand Down

0 comments on commit 32530ac

Please sign in to comment.