public class TestOpenRegionHandler extends Object
OpenRegionHandler
.Constructor and Description |
---|
TestOpenRegionHandler() |
Modifier and Type | Method and Description |
---|---|
static void |
after() |
static void |
before() |
void |
setupHRI()
Before each test, use a different HRI, so the different tests
don't interfere with each other.
|
void |
testFailedOpenRegion() |
void |
testFailedUpdateMeta() |
void |
testRegionServerAbortionDueToFailureTransitioningToOpened()
Test the openregionhandler can deal with perceived failure of transitioning to OPENED state
due to intermittent zookeeper malfunctioning.
|
void |
testTransitionToFailedOpenEvenIfCleanupFails() |
void |
testTransitionToFailedOpenFromOffline() |
void |
testYankingRegionFromUnderIt()
Test the openregionhandler can deal with its znode being yanked out from
under it.
|
public static void after() throws IOException
IOException
public void setupHRI()
public void testYankingRegionFromUnderIt() throws IOException, NodeExistsException, KeeperException
IOException
NodeExistsException
KeeperException
public void testRegionServerAbortionDueToFailureTransitioningToOpened() throws IOException, NodeExistsException, KeeperException
IOException
NodeExistsException
KeeperException
public void testTransitionToFailedOpenEvenIfCleanupFails() throws Exception
Exception