public class TestCloseRegionHandler
extends java.lang.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 before()
throws java.lang.Exception
java.lang.Exceptionpublic static void after()
throws java.io.IOException
java.io.IOExceptionpublic void setupHRI()
public void testFailedFlushAborts()
throws java.io.IOException,
NodeExistsException,
KeeperException
java.io.IOExceptionNodeExistsExceptionKeeperExceptionpublic void testZKClosingNodeVersionMismatch()
throws java.io.IOException,
NodeExistsException,
KeeperException,
DeserializationException
java.io.IOExceptionNodeExistsExceptionKeeperExceptionDeserializationExceptionpublic void testCloseRegion()
throws java.io.IOException,
NodeExistsException,
KeeperException,
DeserializationException
java.io.IOExceptionNodeExistsExceptionKeeperExceptionDeserializationException