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
IOExceptionpublic void setupHRI()
public void testYankingRegionFromUnderIt()
throws IOException,
NodeExistsException,
KeeperException
IOExceptionNodeExistsExceptionKeeperExceptionpublic void testRegionServerAbortionDueToFailureTransitioningToOpened()
throws IOException,
NodeExistsException,
KeeperException
IOExceptionNodeExistsExceptionKeeperExceptionpublic void testTransitionToFailedOpenEvenIfCleanupFails()
throws Exception
Exception