Class TestRegionReplicaReplicationError

java.lang.Object
org.apache.hadoop.hbase.regionserver.TestRegionReplicaReplicationError

@Tag("org.apache.hadoop.hbase.testclassification.FlakeyTests") @Tag("org.apache.hadoop.hbase.testclassification.LargeTests") public class TestRegionReplicaReplicationError extends Object
Test region replication when error occur.

We can not simply move the secondary replicas as we will trigger a flush for the primary replica when secondary replica is online, which will always make the data of the two regions in sync. So here we need to simulate request errors.