public class TestRegionMergeTransaction
extends java.lang.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 java.io.IOException
java.io.IOExceptionpublic void teardown()
throws java.io.IOException
java.io.IOExceptionpublic void testPrepare()
throws java.io.IOException
java.io.IOExceptionpublic void testPrepareWithSameRegion()
throws java.io.IOException
java.io.IOExceptionpublic void testPrepareWithRegionsNotAdjacent()
throws java.io.IOException
java.io.IOExceptionpublic void testPrepareWithRegionsNotAdjacentUnderCompulsory()
throws java.io.IOException
java.io.IOExceptionpublic void testPrepareWithRegionsWithReference()
throws java.io.IOException
java.io.IOExceptionpublic void testPrepareWithClosedRegion()
throws java.io.IOException
java.io.IOExceptionpublic void testPrepareWithRegionsWithMergeReference()
throws java.io.IOException
java.io.IOExceptionpublic void testWholesomeMerge()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionpublic void testRollback()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionpublic void testFailAfterPONR()
throws java.io.IOException,
KeeperException,
java.lang.InterruptedException
java.io.IOExceptionKeeperExceptionjava.lang.InterruptedExceptionpublic void testMeregedRegionBoundary()