Class MultiInstanceReplicationIT
- java.lang.Object
-
- org.apache.accumulo.harness.AccumuloITBase
-
- org.apache.accumulo.test.functional.ConfigurableMacBase
-
- org.apache.accumulo.test.replication.MultiInstanceReplicationIT
-
public class MultiInstanceReplicationIT extends ConfigurableMacBase
Replication tests which start at least two MAC instances and replicate data between them
-
-
Field Summary
-
Fields inherited from class org.apache.accumulo.test.functional.ConfigurableMacBase
cluster, ROOT_PASSWORD
-
Fields inherited from class org.apache.accumulo.harness.AccumuloITBase
testName
-
-
Constructor Summary
Constructors Constructor Description MultiInstanceReplicationIT()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(MiniAccumuloConfigImpl cfg, org.apache.hadoop.conf.Configuration hadoopCoreSite)
void
createExecutor()
void
dataReplicatedToCorrectTable()
void
dataReplicatedToCorrectTableWithoutDrain()
void
dataWasReplicatedToThePeer()
void
dataWasReplicatedToThePeerWithoutDrain()
int
defaultTimeoutSeconds()
time to wait per-method before declaring a timeout, in seconds.void
stopExecutor()
-
Methods inherited from class org.apache.accumulo.test.functional.ConfigurableMacBase
beforeClusterStart, configureForEnvironment, configureForSsl, exec, getClientConfig, getCluster, getConnector, getMonitor, setUp, tearDown
-
Methods inherited from class org.apache.accumulo.harness.AccumuloITBase
createTestDir, getSslDir, getUniqueNames, testsShouldTimeout
-
-
-
-
Method Detail
-
defaultTimeoutSeconds
public int defaultTimeoutSeconds()
Description copied from class:AccumuloITBase
time to wait per-method before declaring a timeout, in seconds.- Overrides:
defaultTimeoutSeconds
in classAccumuloITBase
-
createExecutor
public void createExecutor()
-
stopExecutor
public void stopExecutor()
-
configure
public void configure(MiniAccumuloConfigImpl cfg, org.apache.hadoop.conf.Configuration hadoopCoreSite)
- Overrides:
configure
in classConfigurableMacBase
-
dataWasReplicatedToThePeer
public void dataWasReplicatedToThePeer() throws Exception
- Throws:
Exception
-
dataReplicatedToCorrectTable
public void dataReplicatedToCorrectTable() throws Exception
- Throws:
Exception
-
dataWasReplicatedToThePeerWithoutDrain
public void dataWasReplicatedToThePeerWithoutDrain() throws Exception
- Throws:
Exception
-
-