|
|
|
@ -20,9 +20,9 @@ import org.hyperledger.besu.tests.acceptance.dsl.node.cluster.Cluster; |
|
|
|
|
import org.hyperledger.besu.tests.acceptance.dsl.node.cluster.ClusterConfiguration; |
|
|
|
|
import org.hyperledger.besu.tests.acceptance.dsl.node.cluster.ClusterConfigurationBuilder; |
|
|
|
|
|
|
|
|
|
import org.junit.After; |
|
|
|
|
import org.junit.Before; |
|
|
|
|
import org.junit.Test; |
|
|
|
|
import org.junit.jupiter.api.AfterEach; |
|
|
|
|
import org.junit.jupiter.api.BeforeEach; |
|
|
|
|
import org.junit.jupiter.api.Test; |
|
|
|
|
|
|
|
|
|
public class AdminAddPeerAcceptanceTest extends AcceptanceTestBase { |
|
|
|
|
private Cluster noDiscoveryCluster; |
|
|
|
@ -30,7 +30,7 @@ public class AdminAddPeerAcceptanceTest extends AcceptanceTestBase { |
|
|
|
|
private Node nodeA; |
|
|
|
|
private Node nodeB; |
|
|
|
|
|
|
|
|
|
@Before |
|
|
|
|
@BeforeEach |
|
|
|
|
public void setUp() throws Exception { |
|
|
|
|
final ClusterConfiguration clusterConfiguration = |
|
|
|
|
new ClusterConfigurationBuilder().awaitPeerDiscovery(false).build(); |
|
|
|
@ -40,7 +40,7 @@ public class AdminAddPeerAcceptanceTest extends AcceptanceTestBase { |
|
|
|
|
noDiscoveryCluster.start(nodeA, nodeB); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@After |
|
|
|
|
@AfterEach |
|
|
|
|
public void tearDown() { |
|
|
|
|
noDiscoveryCluster.stop(); |
|
|
|
|
} |
|
|
|
|