public abstract class PersistentReplicatedTestBase extends CacheTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
protected File |
diskDir |
protected static int |
MAX_WAIT |
protected static String |
REGION_NAME |
protected static String |
SAVED_ACK_WAIT_THRESHOLD |
cachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
PersistentReplicatedTestBase(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
backupDir(VM vm) |
protected void |
closeCache(VM vm) |
protected AsyncInvocation |
closeCacheAsync(VM vm0) |
protected void |
closeRegion(VM vm) |
protected void |
createNonPersistentRegion(VM vm) |
protected void |
createPersistentRegion(VM vm) |
protected AsyncInvocation |
createPersistentRegionAsync(VM vm) |
protected SerializableRunnable |
createPersistentRegionWithoutCompaction(VM vm0) |
protected AsyncInvocation |
createPersistentRegionWithWait(VM vm) |
protected File |
getDiskDirForVM(VM vm) |
protected void |
restoreBackup(VM vm) |
static void |
setRegionName(String testName) |
void |
setUp()
Sets up the test (noop).
|
void |
tearDown2()
Tears down the test.
|
protected void |
waitForBlockedInitialization(VM vm) |
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, sendUnorderedMessageToAlladdExpectedException, 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 final int MAX_WAIT
protected static String REGION_NAME
protected File diskDir
protected static String SAVED_ACK_WAIT_THRESHOLD
public PersistentReplicatedTestBase(String name)
public void setUp()
throws Exception
DistributedTestCasesetUp in class DistributedTestCaseExceptionpublic static void setRegionName(String testName)
public void tearDown2()
throws Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class CacheTestCaseExceptionprotected void waitForBlockedInitialization(VM vm)
protected SerializableRunnable createPersistentRegionWithoutCompaction(VM vm0)
protected void closeRegion(VM vm)
protected void closeCache(VM vm)
protected AsyncInvocation closeCacheAsync(VM vm0)
protected void createNonPersistentRegion(VM vm) throws Throwable
Throwableprotected AsyncInvocation createPersistentRegionWithWait(VM vm) throws Throwable
Throwableprotected void createPersistentRegion(VM vm) throws Throwable
Throwableprotected AsyncInvocation createPersistentRegionAsync(VM vm)
protected void backupDir(VM vm) throws IOException
IOExceptionprotected void restoreBackup(VM vm) throws IOException
IOExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.