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
Exception
public void testFailingGetClusterStatus() throws Exception
Exception
public void testFailingGetClusterVersion() throws Exception
Exception
public void testFailingGetTableAvailable() throws Exception
Exception
public void testFailingCreateTable() throws Exception
Exception
public void testFailingDeleteTable() throws Exception
Exception
public void testFailingGetTableList() throws Exception
Exception
private void testTimedOutGetCall(TestRemoteAdminRetries.CallExecutor callExecutor) throws Exception
Exception
private void testTimedOutCall(TestRemoteAdminRetries.CallExecutor callExecutor) throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.