public class TestCloseRegionHandler extends Object
CloseRegionHandler.| Constructor and Description |
|---|
TestCloseRegionHandler() |
| 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 |
testCloseRegion()
Test if the region can be closed properly
|
void |
testFailedFlushAborts()
Test that if we fail a flush, abort gets set on close.
|
void |
testZKClosingNodeVersionMismatch()
Test if close region can handle ZK closing node version mismatch
|
public static void after()
throws IOException
IOExceptionpublic void setupHRI()
public void testFailedFlushAborts()
throws IOException,
NodeExistsException,
KeeperException
IOExceptionNodeExistsExceptionKeeperExceptionpublic void testZKClosingNodeVersionMismatch()
throws IOException,
NodeExistsException,
KeeperException,
DeserializationException
IOExceptionNodeExistsExceptionKeeperExceptionDeserializationExceptionpublic void testCloseRegion()
throws IOException,
NodeExistsException,
KeeperException,
DeserializationException
IOExceptionNodeExistsExceptionKeeperExceptionDeserializationException