diff --git a/consensus/qbft/src/integration-test/java/org/hyperledger/besu/consensus/qbft/support/RoundSpecificPeers.java b/consensus/qbft/src/integration-test/java/org/hyperledger/besu/consensus/qbft/support/RoundSpecificPeers.java index cc3ee90026..dc35796d0d 100644 --- a/consensus/qbft/src/integration-test/java/org/hyperledger/besu/consensus/qbft/support/RoundSpecificPeers.java +++ b/consensus/qbft/src/integration-test/java/org/hyperledger/besu/consensus/qbft/support/RoundSpecificPeers.java @@ -168,7 +168,7 @@ public class RoundSpecificPeers { verifyMessagesReceived(candidates, msgs); } - public final void verifyMessagesReceivedNonPropsing(final BftMessage... msgs) { + public final void verifyMessagesReceivedNonProposing(final BftMessage... msgs) { verifyMessagesReceived(nonProposingPeers, msgs); } diff --git a/consensus/qbft/src/integration-test/java/org/hyperledger/besu/consensus/qbft/test/GossipTest.java b/consensus/qbft/src/integration-test/java/org/hyperledger/besu/consensus/qbft/test/GossipTest.java index c6225a4a76..66c3b4c139 100644 --- a/consensus/qbft/src/integration-test/java/org/hyperledger/besu/consensus/qbft/test/GossipTest.java +++ b/consensus/qbft/src/integration-test/java/org/hyperledger/besu/consensus/qbft/test/GossipTest.java @@ -79,15 +79,15 @@ public class GossipTest { final Proposal proposal = sender.injectProposal(roundId, block); // sender node will have a prepare message as an effect of the proposal being sent - peers.verifyMessagesReceivedNonPropsing(proposal, localPrepare); + peers.verifyMessagesReceivedNonProposing(proposal, localPrepare); peers.verifyMessagesReceivedProposer(localPrepare); final Prepare prepare = sender.injectPrepare(roundId, block.getHash()); - peers.verifyMessagesReceivedNonPropsing(prepare); + peers.verifyMessagesReceivedNonProposing(prepare); peers.verifyNoMessagesReceivedProposer(); final Commit commit = sender.injectCommit(roundId, block); - peers.verifyMessagesReceivedNonPropsing(commit); + peers.verifyMessagesReceivedNonProposing(commit); peers.verifyNoMessagesReceivedProposer(); final RoundChange roundChange = msgFactory.createRoundChange(roundId, Optional.empty()); @@ -98,18 +98,18 @@ public class GossipTest { Collections.singletonList(roundChange.getSignedPayload()), roundChange.getPrepares(), block); - peers.verifyMessagesReceivedNonPropsing(nextRoundProposal); + peers.verifyMessagesReceivedNonProposing(nextRoundProposal); peers.verifyNoMessagesReceivedProposer(); sender.injectRoundChange(roundId, Optional.empty()); - peers.verifyMessagesReceivedNonPropsing(roundChange); + peers.verifyMessagesReceivedNonProposing(roundChange); peers.verifyNoMessagesReceivedProposer(); } @Test public void onlyGossipOnce() { final Prepare prepare = sender.injectPrepare(roundId, block.getHash()); - peers.verifyMessagesReceivedNonPropsing(prepare); + peers.verifyMessagesReceivedNonProposing(prepare); sender.injectPrepare(roundId, block.getHash()); peers.verifyNoMessagesReceivedNonProposing(); @@ -173,6 +173,6 @@ public class GossipTest { .getController() .handleNewBlockEvent(new NewChainHead(signedCurrentHeightBlock.getHeader())); - peers.verifyMessagesReceivedNonPropsing(futurePrepare); + peers.verifyMessagesReceivedNonProposing(futurePrepare); } }