Package org.apache.hadoop.hbase.client
Class TestConnectionImplementationCacheMasterState
java.lang.Object
org.apache.hadoop.hbase.client.TestConnectionImplementationCacheMasterState
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final IntegrationTestingUtility
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
private Method
private org.apache.hadoop.hbase.client.ConnectionImplementation.MasterServiceState
spyMasterServiceState
(org.apache.hadoop.hbase.client.ConnectionImplementation conn) void
void
void
void
void
-
Field Details
-
CLASS_RULE
-
TEST_UTIL
-
-
Constructor Details
-
TestConnectionImplementationCacheMasterState
-
-
Method Details
-
beforeClass
- Throws:
Exception
-
afterClass
- Throws:
Exception
-
testGetMaster_noCachedMasterState
- Throws:
IOException
IllegalAccessException
-
testGetMaster_masterStateCacheHit
- Throws:
IOException
IllegalAccessException
-
testGetMaster_masterStateCacheMiss
public void testGetMaster_masterStateCacheMiss() throws IOException, InterruptedException, IllegalAccessException -
testIsKeepAliveMasterConnectedAndRunning_UndeclaredThrowableException
-
testIsKeepAliveMasterConnectedAndRunning_IOException
-
spyMasterServiceState
private org.apache.hadoop.hbase.client.ConnectionImplementation.MasterServiceState spyMasterServiceState(org.apache.hadoop.hbase.client.ConnectionImplementation conn) throws IllegalAccessException - Throws:
IllegalAccessException
-
getIsKeepAliveMasterConnectedAndRunningMethod
- Throws:
NoSuchMethodException
-