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
IOExceptionpublic void testReplicaAndReplication()
throws Exception
Exceptionpublic void testBulkLoad()
throws IOException
IOExceptionpublic void testGetRegionLocationFromPrimaryMetaRegion()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void testReplicaGetWithPrimaryAndMetaDown()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void testReplicaGetWithPrimaryDown()
throws IOException
IOExceptionpublic void testReplicaScanWithPrimaryDown()
throws IOException
IOException