public class DurableClientReconnectDUnitTest extends DistributedTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2logPerTest, reconnect, system, testName| Constructor and Description |
|---|
DurableClientReconnectDUnitTest(String name)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
static void |
caseSetUp() |
static void |
closeCache() |
void |
closeCache(boolean keepAlive) |
static Integer |
createServerCache() |
protected static int |
getNumberOfClientProxies() |
protected com.gemstone.gemfire.cache.client.PoolFactory |
getPoolFactory() |
void |
setUp()
Sets up the test (noop).
|
void |
tearDown2()
Tears down the test.
|
void |
testBug39332()
This test checks a problem found in bug 39332
1.
|
void |
testDurableReconnect_DiffernetPrimary() |
void |
testDurableReconnect()
(R = 1 ) , four servers , all Servers are up, Check client reconnect to either of server having queue.
|
void |
testDurableReconnectNonHA() |
void |
testDurableReconnectSingleServer() |
void |
testDurableReconnectSingleServerWithZeroConnPerServer() |
void |
testDurableReconnectWithBothNonRedundantServersDown() |
void |
testDurableReconnectWithBothRedundantServersDown() |
void |
testDurableReconnectWithOneRedundantServerDown() |
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 DurableClientReconnectDUnitTest(String name)
public void setUp()
throws Exception
DistributedTestCasesetUp in class DistributedTestCaseExceptionpublic void testDurableReconnectSingleServer()
throws Exception
Exceptionpublic void testDurableReconnectSingleServerWithZeroConnPerServer()
throws Exception
Exceptionpublic void testDurableReconnectNonHA()
throws Exception
Exceptionpublic void testDurableReconnect()
throws Exception
Exceptionpublic void testDurableReconnect_DiffernetPrimary()
throws Exception
Exceptionpublic void testDurableReconnectWithOneRedundantServerDown()
throws Exception
Exceptionpublic void testDurableReconnectWithBothRedundantServersDown()
throws Exception
Exceptionpublic void testDurableReconnectWithBothNonRedundantServersDown()
throws Exception
Exceptionpublic void testBug39332()
protected static int getNumberOfClientProxies()
protected com.gemstone.gemfire.cache.client.PoolFactory getPoolFactory()
public void tearDown2()
throws Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class DistributedTestCaseExceptionpublic void closeCache(boolean keepAlive)
public static void closeCache()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.