public class UpgradeOfflineDiskStoreDUnitTest extends CliCommandTestBase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2USE_HTTP_SYSTEM_PROPERTYcachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
UpgradeOfflineDiskStoreDUnitTest(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
protected AsyncInvocation |
createPeerCache(VM server,
int mcastPort,
java.lang.String regionName,
boolean createPR,
java.lang.String member_dir,
java.lang.String diskStoreName) |
protected void |
createTestData(java.lang.String version,
boolean isPR) |
protected void |
do_normal(boolean isPR,
boolean upgradeVersionOnly,
boolean doRecoveryOnly) |
java.io.File[] |
getDiskDirsForMember(java.lang.String member_dir) |
static void |
printDirectory(java.lang.String dirname,
java.lang.String testcasename) |
protected void |
recordPID(int pid) |
protected void |
removePID(int pid) |
protected int |
runScript(java.lang.String version,
java.lang.String diskdir,
boolean isPR,
boolean doOps,
boolean isSDA)
create and run following script:
java -cp $GEMFIRE/lib/gemfire.jar:$JTESTS
com.gemstone.gemfire.internal.cache.partitioned.UpgradeDiskStoreDUnitTest version
It will start a cache and do some operations to create a diskstore
|
void |
tearDown2()
Tears down the test.
|
void |
testCommand() |
void |
testDR() |
void |
testDR651() |
void |
testPR() |
commandResultToString, countLinesInString, countMatchesInString, createDefaultSetup, createShell, debug, destroyDefaultSetup, error, error, executeCommand, executeCommand, executeCommandWithoutClear, executeCommandWithoutClear, extractCommandResult, getDefaultShell, getLineFromString, info, printResult, setUp, shellConnect, stringContainsLineaddExceptionTag1, 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, toStringpublic UpgradeOfflineDiskStoreDUnitTest(java.lang.String name)
public void tearDown2()
throws java.lang.Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class CliCommandTestBasejava.lang.Exceptionpublic void testCommand()
throws java.lang.Throwable
java.lang.Throwablepublic void testPR()
throws java.lang.Throwable
java.lang.Throwablepublic void testDR()
throws java.lang.Throwable
java.lang.Throwablepublic void testDR651()
throws java.lang.Throwable
java.lang.Throwableprotected void do_normal(boolean isPR,
boolean upgradeVersionOnly,
boolean doRecoveryOnly)
throws java.lang.Throwable
java.lang.Throwablepublic java.io.File[] getDiskDirsForMember(java.lang.String member_dir)
protected void createTestData(java.lang.String version,
boolean isPR)
throws java.lang.Throwable
java.lang.Throwableprotected int runScript(java.lang.String version,
java.lang.String diskdir,
boolean isPR,
boolean doOps,
boolean isSDA)
throws java.lang.Throwable
java.lang.Throwableprotected void recordPID(int pid)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionprotected void removePID(int pid)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionprotected AsyncInvocation createPeerCache(VM server, int mcastPort, java.lang.String regionName, boolean createPR, java.lang.String member_dir, java.lang.String diskStoreName)
public static void printDirectory(java.lang.String dirname,
java.lang.String testcasename)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.