public class TestMetaTableLocator extends Object
MetaTableLocator| Constructor and Description |
|---|
TestMetaTableLocator() |
| Modifier and Type | Method and Description |
|---|---|
void |
after() |
static void |
afterClass() |
void |
before() |
static void |
beforeClass() |
void |
testGetMetaServerConnectionFails()
Test we survive a connection refused
ConnectException |
void |
testInterruptWaitOnMeta()
Test interruptable while blocking wait on meta.
|
void |
testMetaLookup()
Test normal operations
|
void |
testNoTimeoutWaitForMeta()
Test waiting on meat w/ no timeout specified.
|
void |
testTimeoutWaitForMeta() |
void |
testVerifyMetaRegionLocationFails()
Test get of meta region fails properly if nothing to connect to.
|
void |
testVerifyMetaRegionServerNotRunning()
Test that verifyMetaRegionLocation properly handles getting a
ServerNotRunningException.
|
public static void afterClass()
throws IOException
IOExceptionpublic void before()
throws IOException
IOExceptionpublic void after()
public void testMetaLookup()
throws IOException,
InterruptedException,
ServiceException,
KeeperException
IOExceptionInterruptedExceptionServiceExceptionKeeperExceptionpublic void testInterruptWaitOnMeta()
throws IOException,
InterruptedException,
ServiceException
IOExceptionServiceExceptionInterruptedExceptionpublic void testGetMetaServerConnectionFails()
throws IOException,
InterruptedException,
KeeperException,
ServiceException
ConnectExceptionIOExceptionInterruptedExceptionKeeperExceptionServiceExceptionpublic void testVerifyMetaRegionServerNotRunning()
throws IOException,
InterruptedException,
KeeperException,
ServiceException
IOExceptionInterruptedExceptionKeeperExceptionServiceExceptionpublic void testVerifyMetaRegionLocationFails()
throws IOException,
InterruptedException,
KeeperException,
ServiceException
IOExceptionInterruptedExceptionKeeperExceptionServiceExceptionpublic void testTimeoutWaitForMeta()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void testNoTimeoutWaitForMeta()
throws IOException,
InterruptedException,
KeeperException
IOExceptionInterruptedExceptionKeeperException