Skip to content

Commit

Permalink
Changed a method call which is available in hadoop 3.3.6 but not in the
Browse files Browse the repository at this point in the history
hadoop version used in the github build (3.0.3), causing a build failure
  • Loading branch information
kevinrr888 committed Jun 3, 2024
1 parent 47d16b0 commit 0809fd3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ private void testDeadReservationsCleanup(FateInstanceType storeType) throws Exce

// Redefine what is considered "dead" as those whose locks match lock1
Mockito.doAnswer(invocation -> {
FateStore.FateReservation reservation = invocation.getArgument(0);
FateStore.FateReservation reservation = invocation.getArgument(0, FateStore.FateReservation.class);
return FateStore.FateReservation.locksAreEqual(reservation.getLockID(), lock1);
}).when(spyStore1).isDeadReservation(Mockito.any(FateStore.FateReservation.class));

Expand Down

0 comments on commit 0809fd3

Please sign in to comment.