public class TestRegionMergeTransaction extends Object
RegionMergeTransactionImpl
class against two HRegions (as
opposed to running cluster).Constructor and Description |
---|
TestRegionMergeTransaction() |
Modifier and Type | Method and Description |
---|---|
void |
setup() |
void |
teardown() |
void |
testFailAfterPONR() |
void |
testMeregedRegionBoundary() |
void |
testPrepare()
Test straight prepare works.
|
void |
testPrepareWithClosedRegion() |
void |
testPrepareWithRegionsNotAdjacent()
Test merging two not adjacent regions under a common merge
|
void |
testPrepareWithRegionsNotAdjacentUnderCompulsory()
Test merging two not adjacent regions under a compulsory merge
|
void |
testPrepareWithRegionsWithMergeReference()
Test merging regions which are merged regions and has reference in hbase:meta all
the same
|
void |
testPrepareWithRegionsWithReference()
Pass a reference store
|
void |
testPrepareWithSameRegion()
Test merging the same region
|
void |
testRollback() |
void |
testWholesomeMerge() |
public void setup() throws IOException
IOException
public void teardown() throws IOException
IOException
public void testPrepare() throws IOException
IOException
public void testPrepareWithSameRegion() throws IOException
IOException
public void testPrepareWithRegionsNotAdjacent() throws IOException
IOException
public void testPrepareWithRegionsNotAdjacentUnderCompulsory() throws IOException
IOException
public void testPrepareWithRegionsWithReference() throws IOException
IOException
public void testPrepareWithClosedRegion() throws IOException
IOException
public void testPrepareWithRegionsWithMergeReference() throws IOException
IOException
public void testWholesomeMerge() throws IOException, InterruptedException
IOException
InterruptedException
public void testRollback() throws IOException, InterruptedException
IOException
InterruptedException
public void testFailAfterPONR() throws IOException, KeeperException, InterruptedException
IOException
KeeperException
InterruptedException
public void testMeregedRegionBoundary()