Skip to content

Commit

Permalink
Fix flaky SECP256R1 test (#7249)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
  • Loading branch information
daniellehrner and macfarla authored Jun 25, 2024
1 parent db33b03 commit 74780b8
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ public void setUp() throws Exception {
besu.createNodeWithNonDefaultSignatureAlgorithm(
"otherNode", GENESIS_FILE, otherNodeKeyPair, List.of(minerNode));
noDiscoveryCluster.addNode(otherNode);

minerNode.verify(net.awaitPeerCount(1));
otherNode.verify(net.awaitPeerCount(1));

final var minerChainHead = minerNode.execute(ethTransactions.block());
otherNode.verify(blockchain.minimumHeight(minerChainHead.getNumber().longValue()));
}

@Test
Expand Down

0 comments on commit 74780b8

Please sign in to comment.