update to work with the new max retries value (#7253)

Signed-off-by: Justin Florentine <justin+github@florentine.us>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
pull/7264/head
Justin Florentine 5 months ago committed by GitHub
parent 74780b8ef7
commit cfc3e76d65
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      ethereum/eth/src/test/java/org/hyperledger/besu/ethereum/eth/sync/fastsync/PivotBlockRetrieverTest.java

@ -288,7 +288,7 @@ public class PivotBlockRetrieverTest {
final CompletableFuture<FastSyncState> future = pivotBlockRetriever.downloadPivotBlockHeader();
peerA.respond(responder);
peerB.respondTimes(emptyResponder, 2);
peerB.respondTimes(emptyResponder, 3);
// PeerA should have responded, while peerB is being retried, peerC shouldn't have been queried
// yet

Loading…
Cancel
Save