public class TestReplicaWithCluster
extends java.lang.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 static void beforeClass()
throws java.lang.Exception
java.lang.Exceptionpublic static void afterClass()
throws java.lang.Exception
java.lang.Exceptionpublic void testCreateDeleteTable()
throws java.io.IOException
java.io.IOExceptionpublic void testChangeTable()
throws java.lang.Exception
java.lang.Exceptionpublic void testReplicaAndReplication()
throws java.lang.Exception
java.lang.Exceptionpublic void testBulkLoad()
throws java.io.IOException
java.io.IOExceptionpublic void testGetRegionLocationFromPrimaryMetaRegion()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionpublic void testReplicaGetWithPrimaryAndMetaDown()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionpublic void testReplicaGetWithPrimaryDown()
throws java.io.IOException
java.io.IOExceptionpublic void testReplicaScanWithPrimaryDown()
throws java.io.IOException
java.io.IOException