verify syncing false (#6720)

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
pull/6725/head
Sally MacFarlane 8 months ago committed by GitHub
parent 602999f4cf
commit e56a37da11
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      acceptance-tests/tests/src/test/java/org/hyperledger/besu/tests/acceptance/jsonrpc/EthSendRawTransactionAcceptanceTest.java
  2. 3
      acceptance-tests/tests/src/test/java/org/hyperledger/besu/tests/acceptance/pubsub/NewPendingTransactionAcceptanceTest.java

@ -44,6 +44,10 @@ public class EthSendRawTransactionAcceptanceTest extends AcceptanceTestBase {
strictNode = besu.createArchiveNode("strictNode", configureNode((true)));
miningNode = besu.createMinerNode("strictMiningNode", configureNode((true)));
cluster.start(lenientNode, strictNode, miningNode);
// verify all nodes are done syncing so the tx pool will be enabled
lenientNode.verify(eth.syncingStatus(false));
strictNode.verify(eth.syncingStatus(false));
miningNode.verify(eth.syncingStatus(false));
}
@Test

@ -44,6 +44,9 @@ public class NewPendingTransactionAcceptanceTest extends AcceptanceTestBase {
accountOne = accounts.createAccount("account-one");
minerWebSocket = new WebSocket(vertx, minerNode.getConfiguration());
archiveWebSocket = new WebSocket(vertx, archiveNode.getConfiguration());
// verify all nodes are done syncing so the tx pool will be enabled
archiveNode.verify(eth.syncingStatus(false));
minerNode.verify(eth.syncingStatus(false));
}
@AfterEach

Loading…
Cancel
Save