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(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addCacheServer(VM vm,
int port) |
protected void |
checkData(VM vm,
int startKey,
int endKey,
java.lang.String value,
java.lang.String regionName) |
protected void |
checkPRRecoveredFromDisk(VM vm,
java.lang.String regionName,
int bucketId,
boolean recoveredLocally) |
protected void |
closeRegion(VM vm,
java.lang.String regionName) |
protected void |
createData(VM vm,
int startKey,
int endKey,
java.lang.String value,
java.lang.String regionName) |
protected void |
createRegion(VM vm,
java.lang.String regionName,
java.lang.String diskStoreName,
boolean isPR,
int redundancy) |
protected AsyncInvocation |
createRegionAsync(VM vm,
java.lang.String regionName,
java.lang.String diskStoreName,
boolean isPR,
int redundancy) |
protected java.util.Set<java.lang.Integer> |
getBucketList(VM vm,
java.lang.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 void setUp()
throws java.lang.Exception
DistributedTestCasesetUp in class DistributedTestCasejava.lang.Exceptionpublic void testShutdownAll2Servers()
throws java.lang.Throwable
java.lang.Throwablepublic void testShutdownAllWithEncounterIGE1()
throws java.lang.Throwable
java.lang.Throwablepublic void testShutdownAllWithEncounterIGE2()
throws java.lang.Throwable
java.lang.Throwablepublic void testShutdownAllOneServerAndRecover()
throws java.lang.Throwable
java.lang.Throwablepublic void testPRWithDR()
throws java.lang.Throwable
java.lang.Throwablepublic void testShutdownAllFromServer()
throws java.lang.Throwable
java.lang.Throwablepublic void testCleanStop()
throws java.lang.Throwable
java.lang.Throwablepublic void testCleanStopWithConflictCachePort()
throws java.lang.Throwable
java.lang.Throwablepublic void testMultiPRDR()
throws java.lang.Throwable
java.lang.Throwablepublic void testShutdownAllTimeout()
throws java.lang.Throwable
java.lang.Throwablepublic void testShutdownAllWithMembersWaiting()
throws java.lang.Throwable
java.lang.Throwableprotected void addCacheServer(VM vm, int port)
protected void createRegion(VM vm, java.lang.String regionName, java.lang.String diskStoreName, boolean isPR, int redundancy)
protected AsyncInvocation createRegionAsync(VM vm, java.lang.String regionName, java.lang.String diskStoreName, boolean isPR, int redundancy)
protected void createData(VM vm, int startKey, int endKey, java.lang.String value, java.lang.String regionName)
protected java.util.Set<java.lang.Integer> getBucketList(VM vm, java.lang.String regionName)
protected void checkData(VM vm, int startKey, int endKey, java.lang.String value, java.lang.String regionName)
protected void checkPRRecoveredFromDisk(VM vm, java.lang.String regionName, int bucketId, boolean recoveredLocally)
protected void closeRegion(VM vm, java.lang.String regionName)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.