public abstract class PersistentReplicatedTestBase extends CacheTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
protected java.io.File |
diskDir |
protected static int |
MAX_WAIT |
protected static java.lang.String |
REGION_NAME |
protected static java.lang.String |
SAVED_ACK_WAIT_THRESHOLD |
cachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
PersistentReplicatedTestBase(java.lang.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 java.io.File |
getDiskDirForVM(VM vm) |
protected void |
restoreBackup(VM vm) |
static void |
setRegionName(java.lang.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 java.lang.String REGION_NAME
protected java.io.File diskDir
protected static java.lang.String SAVED_ACK_WAIT_THRESHOLD
public PersistentReplicatedTestBase(java.lang.String name)
public void setUp()
throws java.lang.Exception
DistributedTestCasesetUp in class DistributedTestCasejava.lang.Exceptionpublic static void setRegionName(java.lang.String testName)
public void tearDown2()
throws java.lang.Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class CacheTestCasejava.lang.Exceptionprotected 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 java.lang.Throwable
java.lang.Throwableprotected AsyncInvocation createPersistentRegionWithWait(VM vm) throws java.lang.Throwable
java.lang.Throwableprotected void createPersistentRegion(VM vm) throws java.lang.Throwable
java.lang.Throwableprotected AsyncInvocation createPersistentRegionAsync(VM vm)
protected java.io.File getDiskDirForVM(VM vm)
protected void backupDir(VM vm) throws java.io.IOException
java.io.IOExceptionprotected void restoreBackup(VM vm) throws java.io.IOException
java.io.IOExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.