Skip to content

Commit

Permalink
fix uts
Browse files Browse the repository at this point in the history
  • Loading branch information
wangshengjie123 committed Jan 24, 2025
1 parent 1c58362 commit cbceadf
Showing 1 changed file with 20 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,11 @@ public void testUpdateReducerFileGroupInterrupted() throws InterruptedException
t -> {
Thread.sleep(60 * 1000);
return GetReducerFileGroupResponse$.MODULE$.apply(
StatusCode.SUCCESS, locations, new int[0], Collections.emptySet());
StatusCode.SUCCESS,
locations,
new int[0],
Collections.emptySet(),
Collections.emptyMap());
});

shuffleClient =
Expand Down Expand Up @@ -456,7 +460,11 @@ public void testUpdateReducerFileGroupNonFetchFailureExceptions() {
.thenAnswer(
t -> {
return GetReducerFileGroupResponse$.MODULE$.apply(
StatusCode.SHUFFLE_NOT_REGISTERED, locations, new int[0], Collections.emptySet());
StatusCode.SHUFFLE_NOT_REGISTERED,
locations,
new int[0],
Collections.emptySet(),
Collections.emptyMap());
});

shuffleClient =
Expand All @@ -473,7 +481,11 @@ public void testUpdateReducerFileGroupNonFetchFailureExceptions() {
.thenAnswer(
t -> {
return GetReducerFileGroupResponse$.MODULE$.apply(
StatusCode.STAGE_END_TIME_OUT, locations, new int[0], Collections.emptySet());
StatusCode.STAGE_END_TIME_OUT,
locations,
new int[0],
Collections.emptySet(),
Collections.emptyMap());
});

shuffleClient =
Expand All @@ -490,7 +502,11 @@ public void testUpdateReducerFileGroupNonFetchFailureExceptions() {
.thenAnswer(
t -> {
return GetReducerFileGroupResponse$.MODULE$.apply(
StatusCode.SHUFFLE_DATA_LOST, locations, new int[0], Collections.emptySet());
StatusCode.SHUFFLE_DATA_LOST,
locations,
new int[0],
Collections.emptySet(),
Collections.emptyMap());
});

shuffleClient =
Expand Down

0 comments on commit cbceadf

Please sign in to comment.