Skip to content

Commit

Permalink
[apache#5831] fix(CLI): Fix CLi gives unexpected output when setting …
Browse files Browse the repository at this point in the history
…a tag

fix failed test case.
  • Loading branch information
Abyss-lord committed Dec 18, 2024
1 parent 2a28427 commit d7883ca
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ void testDeleteAllTagCommand() {
when(mockCommandLine.hasOption(GravitinoOptions.TAG)).thenReturn(false);
when(mockCommandLine.getOptionValue(GravitinoOptions.METALAKE)).thenReturn("metalake_demo");
when(mockCommandLine.hasOption(GravitinoOptions.FORCE)).thenReturn(true);
when(mockCommandLine.hasOption(GravitinoOptions.NAME)).thenReturn(true);
when(mockCommandLine.getOptionValue(GravitinoOptions.NAME)).thenReturn("catalog.schema.table");
GravitinoCommandLine commandLine =
spy(
Expand Down

0 comments on commit d7883ca

Please sign in to comment.