public class TestReplicaWithCluster extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TestReplicaWithCluster.RegionServerHostingPrimayMetaRegionSlowCopro
This copro is used to slow down the primary meta region scan a bit
|
static class |
TestReplicaWithCluster.RegionServerHostingPrimayMetaRegionSlowOrStopCopro
This copro is used to slow down the primary meta region scan a bit
|
static class |
TestReplicaWithCluster.RegionServerStoppedCopro
This copro is used to simulate region server down exception for Get and Scan
|
static class |
TestReplicaWithCluster.SlowMeCopro
This copro is used to synchronize the tests.
|
Constructor and Description |
---|
TestReplicaWithCluster() |
Modifier and Type | Method and Description |
---|---|
static void |
afterClass() |
static void |
beforeClass() |
void |
testBulkLoad() |
void |
testChangeTable() |
void |
testCreateDeleteTable() |
void |
testGetRegionLocationFromPrimaryMetaRegion() |
void |
testReplicaAndReplication() |
void |
testReplicaGetWithPrimaryAndMetaDown() |
void |
testReplicaGetWithPrimaryDown() |
void |
testReplicaScanWithPrimaryDown() |
public void testCreateDeleteTable() throws IOException
IOException
public void testReplicaAndReplication() throws Exception
Exception
public void testBulkLoad() throws IOException
IOException
public void testGetRegionLocationFromPrimaryMetaRegion() throws IOException, InterruptedException
IOException
InterruptedException
public void testReplicaGetWithPrimaryAndMetaDown() throws IOException, InterruptedException
IOException
InterruptedException
public void testReplicaGetWithPrimaryDown() throws IOException
IOException
public void testReplicaScanWithPrimaryDown() throws IOException
IOException