use of org.hyperledger.besu.tests.acceptance.dsl.node.BesuNodeRunner in project besu by hyperledger.
the class ClusterThreadNodeRunnerAcceptanceTest method setUp.
@Before
public void setUp() throws Exception {
final ClusterConfiguration clusterConfiguration = new ClusterConfigurationBuilder().awaitPeerDiscovery(false).build();
final BesuNodeRunner besuNodeRunner = new ThreadBesuNodeRunner();
noDiscoveryCluster = new Cluster(clusterConfiguration, net, besuNodeRunner);
final BesuNode noDiscoveryNode = besu.createNodeWithNoDiscovery("noDiscovery");
fullNode = besu.createArchiveNode("node2");
noDiscoveryCluster.start(noDiscoveryNode, fullNode);
}
Aggregations