public class ShutdownAllDUnitTest extends CacheTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
protected static com.gemstone.gemfire.internal.cache.partitioned.ShutdownAllDUnitTest.HangingCacheListener |
listener |
cachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
ShutdownAllDUnitTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addCacheServer(VM vm,
int port) |
protected void |
checkData(VM vm,
int startKey,
int endKey,
String value,
String regionName) |
protected void |
checkPRRecoveredFromDisk(VM vm,
String regionName,
int bucketId,
boolean recoveredLocally) |
protected void |
closeRegion(VM vm,
String regionName) |
protected void |
createData(VM vm,
int startKey,
int endKey,
String value,
String regionName) |
protected void |
createRegion(VM vm,
String regionName,
String diskStoreName,
boolean isPR,
int redundancy) |
protected AsyncInvocation |
createRegionAsync(VM vm,
String regionName,
String diskStoreName,
boolean isPR,
int redundancy) |
protected Set<Integer> |
getBucketList(VM vm,
String regionName) |
void |
setUp()
Sets up the test (noop).
|
void |
testCleanStop() |
void |
testCleanStopWithConflictCachePort() |
void |
testMultiPRDR() |
void |
testPRWithDR() |
void |
testShutdownAll2Servers() |
void |
testShutdownAllFromServer() |
void |
testShutdownAllOneServerAndRecover() |
void |
testShutdownAllTimeout() |
void |
testShutdownAllWithEncounterIGE1() |
void |
testShutdownAllWithEncounterIGE2() |
void |
testShutdownAllWithMembersWaiting()
Test for 43551.
|
addExceptionTag1, basicGetCache, beginCacheXml, cleanDiskDirs, closeAllCache, closeCache, createLonerCache, createMcastCache, createMcastCache, createRegion, createRegion, createRootRegion, createRootRegion, disconnectFromDS, finishCacheXml, finishCacheXml, getCache, getCache, getCache, getCache, getClientCache, getDiskDirs, getGemfireCache, getInternalRegionArguments, getRootRegion, getRootRegion, hasCache, remoteTearDown, removeExceptionTag1, sendSerialMessageToAll, sendUnorderedMessageToAll, tearDown2addExpectedException, addExpectedException, addHydraProperties, attachDebugger, checkBBFlag, cleanupAllVms, clearBBFlag, crashDistributedSystem, crashDistributedSystem, createLogWriter, disconnectAllFromDS, 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, toStringprotected static com.gemstone.gemfire.internal.cache.partitioned.ShutdownAllDUnitTest.HangingCacheListener listener
public ShutdownAllDUnitTest(String name)
public void setUp()
throws Exception
DistributedTestCasesetUp in class DistributedTestCaseExceptionpublic void testShutdownAllWithEncounterIGE1()
throws Throwable
Throwablepublic void testShutdownAllWithEncounterIGE2()
throws Throwable
Throwablepublic void testShutdownAllOneServerAndRecover()
throws Throwable
Throwablepublic void testShutdownAllFromServer()
throws Throwable
Throwablepublic void testCleanStopWithConflictCachePort()
throws Throwable
Throwablepublic void testShutdownAllWithMembersWaiting()
throws Throwable
Throwableprotected void addCacheServer(VM vm, int port)
protected void createRegion(VM vm, String regionName, String diskStoreName, boolean isPR, int redundancy)
protected AsyncInvocation createRegionAsync(VM vm, String regionName, String diskStoreName, boolean isPR, int redundancy)
protected void createData(VM vm, int startKey, int endKey, String value, String regionName)
protected void checkData(VM vm, int startKey, int endKey, String value, String regionName)
protected void checkPRRecoveredFromDisk(VM vm, String regionName, int bucketId, boolean recoveredLocally)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.