public class TestRemoteAdminRetries extends Object
RemoteAdmin retries.| Modifier and Type | Class and Description |
|---|---|
private static interface |
TestRemoteAdminRetries.CallExecutor |
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private org.apache.hadoop.hbase.rest.client.Client |
client |
private static long |
MAX_TIME |
private RemoteAdmin |
remoteAdmin |
private static int |
RETRIES |
private static int |
SLEEP_TIME |
private static HBaseTestingUtility |
TEST_UTIL |
| Constructor and Description |
|---|
TestRemoteAdminRetries() |
| Modifier and Type | Method and Description |
|---|---|
void |
setup() |
void |
testFailingCreateTable() |
void |
testFailingDeleteTable() |
void |
testFailingGetClusterStatus() |
void |
testFailingGetClusterVersion() |
void |
testFailingGetRestVersion() |
void |
testFailingGetTableAvailable() |
void |
testFailingGetTableList() |
private void |
testTimedOutCall(TestRemoteAdminRetries.CallExecutor callExecutor) |
private void |
testTimedOutGetCall(TestRemoteAdminRetries.CallExecutor callExecutor) |
public static final HBaseClassTestRule CLASS_RULE
private static final int SLEEP_TIME
private static final int RETRIES
private static final long MAX_TIME
private static final HBaseTestingUtility TEST_UTIL
private RemoteAdmin remoteAdmin
private org.apache.hadoop.hbase.rest.client.Client client
public TestRemoteAdminRetries()
public void testFailingGetRestVersion() throws Exception
Exceptionpublic void testFailingGetClusterStatus() throws Exception
Exceptionpublic void testFailingGetClusterVersion() throws Exception
Exceptionpublic void testFailingGetTableAvailable() throws Exception
Exceptionpublic void testFailingCreateTable() throws Exception
Exceptionpublic void testFailingDeleteTable() throws Exception
Exceptionpublic void testFailingGetTableList() throws Exception
Exceptionprivate void testTimedOutGetCall(TestRemoteAdminRetries.CallExecutor callExecutor) throws Exception
Exceptionprivate void testTimedOutCall(TestRemoteAdminRetries.CallExecutor callExecutor) throws Exception
ExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.