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
IOException
public void before() throws IOException
IOException
public void after()
public void testMetaLookup() throws IOException, InterruptedException, ServiceException, KeeperException
IOException
InterruptedException
ServiceException
KeeperException
public void testInterruptWaitOnMeta() throws IOException, InterruptedException, ServiceException
IOException
ServiceException
InterruptedException
public void testGetMetaServerConnectionFails() throws IOException, InterruptedException, KeeperException, ServiceException
ConnectException
IOException
InterruptedException
KeeperException
ServiceException
public void testVerifyMetaRegionServerNotRunning() throws IOException, InterruptedException, KeeperException, ServiceException
IOException
InterruptedException
KeeperException
ServiceException
public void testVerifyMetaRegionLocationFails() throws IOException, InterruptedException, KeeperException, ServiceException
IOException
InterruptedException
KeeperException
ServiceException
public void testTimeoutWaitForMeta() throws IOException, InterruptedException
IOException
InterruptedException
public void testNoTimeoutWaitForMeta() throws IOException, InterruptedException, KeeperException
IOException
InterruptedException
KeeperException