Search in sources :

Example 1 with NetConditions

use of org.hyperledger.besu.tests.acceptance.dsl.condition.net.NetConditions in project besu by hyperledger.

the class ExecutionEngineAcceptanceTest method init.

@BeforeClass
public static void init() throws IOException {
    cluster = new Cluster(new NetConditions(new NetTransactions()));
    executionEngine = new BesuNodeFactory().createExecutionEngineGenesisNode("executionEngine", GENESIS_FILE);
    cluster.start(executionEngine);
    consensusClient = new OkHttpClient();
    mapper = new ObjectMapper();
}
Also used : OkHttpClient(okhttp3.OkHttpClient) Cluster(org.hyperledger.besu.tests.acceptance.dsl.node.cluster.Cluster) BesuNodeFactory(org.hyperledger.besu.tests.acceptance.dsl.node.configuration.BesuNodeFactory) NetConditions(org.hyperledger.besu.tests.acceptance.dsl.condition.net.NetConditions) NetTransactions(org.hyperledger.besu.tests.acceptance.dsl.transaction.net.NetTransactions) ObjectMapper(com.fasterxml.jackson.databind.ObjectMapper) BeforeClass(org.junit.BeforeClass)

Aggregations

ObjectMapper (com.fasterxml.jackson.databind.ObjectMapper)1 OkHttpClient (okhttp3.OkHttpClient)1 NetConditions (org.hyperledger.besu.tests.acceptance.dsl.condition.net.NetConditions)1 Cluster (org.hyperledger.besu.tests.acceptance.dsl.node.cluster.Cluster)1 BesuNodeFactory (org.hyperledger.besu.tests.acceptance.dsl.node.configuration.BesuNodeFactory)1 NetTransactions (org.hyperledger.besu.tests.acceptance.dsl.transaction.net.NetTransactions)1 BeforeClass (org.junit.BeforeClass)1