Skip to content

Commit

Permalink
Remove redundant BannedMethod suppressions
Browse files Browse the repository at this point in the history
Left in after debugging tests
Signed-off-by: Simon Dudley <[email protected]>
  • Loading branch information
siladu committed Mar 25, 2024
1 parent 09493d9 commit 48eb157
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,6 @@ public void shouldFailAfterMaxNumberOfRetries() {
}
}

@SuppressWarnings("BannedMethod")
@Test
public void whenBlockNotFoundInPeers_shouldRemoveBlockFromQueueAndProgressInNextSession() {
// This scenario can happen due to a reorg
Expand All @@ -466,7 +465,6 @@ public void whenBlockNotFoundInPeers_shouldRemoveBlockFromQueueAndProgressInNext
.isEqualTo(remoteBlockchain.getBlockByNumber(reorgBlockHeight).orElseThrow());
}

@SuppressWarnings("BannedMethod")
@Test
public void
whenBlockNotFoundInPeers_shouldRemoveBlockFromQueueAndProgressWithQueueInSameSession() {
Expand Down

0 comments on commit 48eb157

Please sign in to comment.