public class DurableClientReconnectDUnitTest extends DistributedTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2logPerTest, reconnect, system, testName| Constructor and Description |
|---|
DurableClientReconnectDUnitTest(java.lang.String name)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
static void |
caseSetUp() |
static void |
closeCache() |
void |
closeCache(boolean keepAlive) |
static java.lang.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(java.lang.String name)
public static void caseSetUp()
throws java.lang.Exception
java.lang.Exceptionpublic void setUp()
throws java.lang.Exception
DistributedTestCasesetUp in class DistributedTestCasejava.lang.Exceptionpublic void testDurableReconnectSingleServer()
throws java.lang.Exception
java.lang.Exceptionpublic void testDurableReconnectSingleServerWithZeroConnPerServer()
throws java.lang.Exception
java.lang.Exceptionpublic void testDurableReconnectNonHA()
throws java.lang.Exception
java.lang.Exceptionpublic void testDurableReconnect()
throws java.lang.Exception
java.lang.Exceptionpublic void testDurableReconnect_DiffernetPrimary()
throws java.lang.Exception
java.lang.Exceptionpublic void testDurableReconnectWithOneRedundantServerDown()
throws java.lang.Exception
java.lang.Exceptionpublic void testDurableReconnectWithBothRedundantServersDown()
throws java.lang.Exception
java.lang.Exceptionpublic void testDurableReconnectWithBothNonRedundantServersDown()
throws java.lang.Exception
java.lang.Exceptionpublic void testBug39332()
public static java.lang.Integer createServerCache()
throws java.lang.Exception
java.lang.Exceptionprotected static int getNumberOfClientProxies()
protected com.gemstone.gemfire.cache.client.PoolFactory getPoolFactory()
public void tearDown2()
throws java.lang.Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class DistributedTestCasejava.lang.Exceptionpublic void closeCache(boolean keepAlive)
public static void closeCache()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.