public class IncrementalBackupDUnitTest extends CacheTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2cachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
IncrementalBackupDUnitTest(java.lang.String name)
Creates a new IncrementalBackupDUnitTest.
|
| Modifier and Type | Method and Description |
|---|---|
protected com.gemstone.gemfire.cache.RegionFactory<java.lang.Integer,java.lang.String> |
getRegionFactory(com.gemstone.gemfire.cache.Cache cache) |
void |
setUp()
1.
|
void |
tearDown2()
Removes backup directories (and all backup data).
|
void |
testBackupUserDeployedJarFiles()
Successful if a user deployed jar file is included as part of the backup.
|
void |
testIncompleteInBaseline()
Successful if a member performs a full backup if their backup is marked as
incomplete in the baseline.
|
void |
testIncrementalBackup()
This tests the basic features of incremental backup.
|
void |
testMissingBaseline()
Successful if all members perform a full backup when they share the baseline directory
and it is missing.
|
void |
testMissingMemberInBaseline()
Successful if a member performs a full backup when its backup data is not present
in the baseline (for whatever reason).
|
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, toStringpublic IncrementalBackupDUnitTest(java.lang.String name)
name - test case name.protected com.gemstone.gemfire.cache.RegionFactory<java.lang.Integer,java.lang.String> getRegionFactory(com.gemstone.gemfire.cache.Cache cache)
public void setUp()
throws java.lang.Exception
setUp in class DistributedTestCasejava.lang.Exceptionpublic void tearDown2()
throws java.lang.Exception
tearDown2 in class CacheTestCasejava.lang.Exceptionpublic void testIncrementalBackup()
throws java.lang.Exception
java.lang.Exceptionpublic void testMissingMemberInBaseline()
throws java.lang.Exception
java.lang.Exceptionpublic void testIncompleteInBaseline()
throws java.lang.Exception
java.lang.Exceptionpublic void testMissingBaseline()
throws java.lang.Exception
java.lang.Exceptionpublic void testBackupUserDeployedJarFiles()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.