Skip to content

Commit

Permalink
spotless
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Palis <[email protected]>
  • Loading branch information
joshpalis committed Aug 13, 2024
1 parent 3be2519 commit 01c169a
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,10 @@ public void testReprovisionWithDeletion() throws Exception {

// Attempt to reprovision template without ingest pipeline node
Template templateWithoutIngestPipeline = TestHelpers.createTemplateFromFile("registerlocalmodel-createindex.json");
ResponseException exception = expectThrows(ResponseException.class, () -> reprovisionWorkflow(client(), workflowId, templateWithoutIngestPipeline));
ResponseException exception = expectThrows(
ResponseException.class,
() -> reprovisionWorkflow(client(), workflowId, templateWithoutIngestPipeline)
);
assertEquals(RestStatus.BAD_REQUEST.getStatus(), exception.getResponse().getStatusLine().getStatusCode());
assertTrue(exception.getMessage().contains("Workflow Step deletion is not supported when reprovisioning a template."));
}
Expand Down

0 comments on commit 01c169a

Please sign in to comment.