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 Feb 7, 2024
1 parent 6d60e95 commit 21afabf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ public void testDeleteRemoteModel_deleteModelController_failed() throws IOExcept
deleteModelTransportAction.doExecute(null, mlModelDeleteRequest, actionListener);
ArgumentCaptor<Exception> argumentCaptor = ArgumentCaptor.forClass(Exception.class);
verify(actionListener).onFailure(argumentCaptor.capture());
assertEquals("Failed to delete model controller, please try again: test_id", argumentCaptor.getValue().getMessage());
assertEquals("Model is not all cleaned up, please try again: test_id", argumentCaptor.getValue().getMessage());
}

public void testDeleteLocalModel_deleteModelController_failed() throws IOException {
Expand Down

0 comments on commit 21afabf

Please sign in to comment.