Skip to content

Commit

Permalink
update test method name
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxpi committed Mar 14, 2024
1 parent 1710cfd commit 85bb7fb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public void testOnFailure() throws IOException {
}
}

public void testOnFailureStatsFailure() throws IOException {
public void testOnSuccessStatsFailure() throws IOException {
RemoteTranslogTransferTracker localRemoteTranslogTransferTracker = spy(remoteTranslogTransferTracker);
doAnswer((count) -> { throw new NullPointerException("Error while updating stats"); }).when(localRemoteTranslogTransferTracker)
.addUploadBytesSucceeded(anyLong());
Expand Down

0 comments on commit 85bb7fb

Please sign in to comment.