Skip to content

Commit

Permalink
Fix failure UTs
Browse files Browse the repository at this point in the history
Signed-off-by: zane-neo <[email protected]>
  • Loading branch information
zane-neo committed Aug 7, 2024
1 parent cecdf0d commit 6f9cc41
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ public void testDeleteModel_CheckModelState() throws IOException {
ArgumentCaptor<Exception> argumentCaptor = ArgumentCaptor.forClass(Exception.class);
verify(actionListener).onFailure(argumentCaptor.capture());
assertEquals(
"Model cannot be deleted in deploying or deployed state. Try undeploy model first then delete",
"Model cannot be deleted in deploying or deployed state. Try undeploy model first then delete, current model state is: DEPLOYING",
argumentCaptor.getValue().getMessage()
);
}
Expand Down

0 comments on commit 6f9cc41

Please sign in to comment.