Search in sources :

Example 1 with ThreadBesuNodeRunner

use of org.hyperledger.besu.tests.acceptance.dsl.node.ThreadBesuNodeRunner 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);
}
Also used : BesuNode(org.hyperledger.besu.tests.acceptance.dsl.node.BesuNode) ThreadBesuNodeRunner(org.hyperledger.besu.tests.acceptance.dsl.node.ThreadBesuNodeRunner) ClusterConfigurationBuilder(org.hyperledger.besu.tests.acceptance.dsl.node.cluster.ClusterConfigurationBuilder) Cluster(org.hyperledger.besu.tests.acceptance.dsl.node.cluster.Cluster) ClusterConfiguration(org.hyperledger.besu.tests.acceptance.dsl.node.cluster.ClusterConfiguration) ThreadBesuNodeRunner(org.hyperledger.besu.tests.acceptance.dsl.node.ThreadBesuNodeRunner) BesuNodeRunner(org.hyperledger.besu.tests.acceptance.dsl.node.BesuNodeRunner) Before(org.junit.Before)

Aggregations

BesuNode (org.hyperledger.besu.tests.acceptance.dsl.node.BesuNode)1 BesuNodeRunner (org.hyperledger.besu.tests.acceptance.dsl.node.BesuNodeRunner)1 ThreadBesuNodeRunner (org.hyperledger.besu.tests.acceptance.dsl.node.ThreadBesuNodeRunner)1 Cluster (org.hyperledger.besu.tests.acceptance.dsl.node.cluster.Cluster)1 ClusterConfiguration (org.hyperledger.besu.tests.acceptance.dsl.node.cluster.ClusterConfiguration)1 ClusterConfigurationBuilder (org.hyperledger.besu.tests.acceptance.dsl.node.cluster.ClusterConfigurationBuilder)1 Before (org.junit.Before)1