public class InterestListRecoveryDUnitTest extends DistributedTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
protected static com.gemstone.gemfire.cache.client.internal.PoolImpl |
pool |
logPerTest, reconnect, system, testName| Constructor and Description |
|---|
InterestListRecoveryDUnitTest(java.lang.String name)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
static void |
closeCache() |
static void |
createClientCache(java.lang.String host,
java.lang.Integer port1,
java.lang.Integer port2) |
static void |
createEntries() |
static java.lang.Integer |
createServerCache() |
static java.util.Set |
getCacheClientProxies() |
static java.util.Set |
getKeysOfInterestMap(com.gemstone.gemfire.internal.cache.tier.sockets.CacheClientProxy proxy,
java.lang.String regionName) |
static void |
killCurrentEndpoint() |
static void |
put(java.lang.String key) |
static void |
registerK1toK5() |
static void |
setServerAvailable(java.lang.String server) |
static void |
setServerUnavailable(java.lang.String server) |
void |
setUp()
Sets up the test (noop).
|
void |
tearDown2()
Tears down the test.
|
void |
testKeyInterestRecoveryWhileProcessException() |
static void |
unregisterK1toK3() |
static void |
verifyDeadAndLiveServers(int expectedDeadServers,
int expectedLiveServers) |
static void |
verifyRegionToProxyMapForFullRegistration() |
static void |
verifyRegionToProxyMapForFullRegistrationRetry() |
static void |
verifyRegionToProxyMapForNoRegistration() |
static void |
verifyRegionToProxyMapForNoRegistrationRetry() |
static void |
verifyRegisterK4toK5() |
static void |
verifyRegisterK4toK5Retry() |
void |
XtestKeyInterestRecoveryWhileServerFailover() |
addExpectedException, addExpectedException, addHydraProperties, attachDebugger, checkBBFlag, cleanupAllVms, clearBBFlag, crashDistributedSystem, crashDistributedSystem, createLogWriter, disconnectAllFromDS, disconnectFromDS, dumpAllStacks, dumpMyThreads, dumpStack, dumpStack, dumpStack, dumpStackTrace, fail, getAllDistributedSystemProperties, getDistributedSystemProperties, getDUnitLocatorAddress, getDUnitLocatorPort, getDUnitLocatorString, getDUnitLogLevel, getIPLiteral, getLogWriter, getLonerSystem, getMcastSystem, getMcastSystem, getRepeatTimeoutMs, getServerHostName, getSystem, getSystem, getTestClass, getTestName, getUniqueName, getVMCount, incBBFlag, invokeInEveryVM, invokeInEveryVM, invokeInEveryVM, invokeInEveryVM, invokeInEveryVMRepeatingIfNecessary, invokeInLocator, invokeRepeatingIfNecessary, isConnectedToDS, join, noteTiming, pause, pause, perVMSetUp, realTearDown, setDiskStoreForGateway, setSystem, setTestName, staticPause, tearDown, unregisterAllDataSerializersFromAllVms, unregisterDataSerializerInThisVM, unregisterInstantiatorsInThisVM, waitForBBFlag, waitForCriterion, waitMutexassertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toStringpublic InterestListRecoveryDUnitTest(java.lang.String name)
public void setUp()
throws java.lang.Exception
DistributedTestCasesetUp in class DistributedTestCasejava.lang.Exceptionpublic void XtestKeyInterestRecoveryWhileServerFailover()
throws java.lang.Exception
java.lang.Exceptionpublic void testKeyInterestRecoveryWhileProcessException()
throws java.lang.Exception
java.lang.Exceptionpublic static void createClientCache(java.lang.String host,
java.lang.Integer port1,
java.lang.Integer port2)
throws java.lang.Exception
java.lang.Exceptionpublic static java.lang.Integer createServerCache()
throws java.lang.Exception
java.lang.Exceptionpublic static void createEntries()
public static void registerK1toK5()
public static void unregisterK1toK3()
public static void setServerUnavailable(java.lang.String server)
public static void setServerAvailable(java.lang.String server)
public static void killCurrentEndpoint()
public static void put(java.lang.String key)
public static void verifyRegionToProxyMapForFullRegistrationRetry()
public static void verifyRegionToProxyMapForFullRegistration()
public static void verifyRegisterK4toK5Retry()
public static void verifyRegisterK4toK5()
public static void verifyRegionToProxyMapForNoRegistrationRetry()
public static void verifyRegionToProxyMapForNoRegistration()
public static java.util.Set getCacheClientProxies()
public static java.util.Set getKeysOfInterestMap(com.gemstone.gemfire.internal.cache.tier.sockets.CacheClientProxy proxy,
java.lang.String regionName)
public void tearDown2()
throws java.lang.Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class DistributedTestCasejava.lang.Exceptionpublic static void closeCache()
public static void verifyDeadAndLiveServers(int expectedDeadServers,
int expectedLiveServers)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.