public class PersistentColocatedPartitionedRegionDUnitTest extends PersistentPartitionedRegionTestBase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2PR_REGION_NAMEcachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
PersistentColocatedPartitionedRegionDUnitTest(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
rebalanceWithOfflineChildRegion(SerializableRunnable createParentPR,
SerializableRunnable createChildPR)
Test for bug 43570.
|
void |
replaceOfflineMemberAndRestart(SerializableRunnable createPRs)
Test for support issue 7870.
|
void |
replaceOfflineMemberAndRestartCreateColocatedPRLate(SerializableRunnable createParentPR,
SerializableRunnable createChildPR)
Test for support issue 7870.
|
void |
tearDown2()
Tears down the test.
|
void |
testColocatedPRAttributes() |
void |
testColocatedPRs()
Testing that we can colocate persistent PRs
|
void |
testColocatedPRsRecoveryOneMemberLater() |
void |
testColocatedPRsRecoveryOnePRAtATime()
Testing what happens we we recreate colocated persistent PRs by creating
one PR everywhere and then the other PR everywhere.
|
void |
testCrashDuringRedundancySatisfaction()
Test what happens when we crash in the middle of
satisfying redundancy for a colocated bucket.
|
void |
testModifyColocation()
Test that a user is not allowed to change the colocation of
a PR with persistent data.
|
void |
testRebalanceWithOfflineChildRegion() |
void |
testRebalanceWithOfflineChildRegionTwoDiskStores() |
void |
testRecoverySystemWithConcurrentPutter()
Test what happens when we restart persistent members while
there is an accessor concurrently performing puts.
|
void |
testReplaceOfflineMemberAndRestart() |
void |
testReplaceOfflineMemberAndRestartCreateColocatedPRLate() |
void |
testReplaceOfflineMemberAndRestartCreateColocatedPRLateTwoDiskStores() |
void |
testReplaceOfflineMemberAndRestartTwoDiskStores()
Test that if we replace an offline member, even if colocated regions are
in different disk stores, we still keep our metadata consistent.
|
backup, checkData, checkData, checkRecoveredFromDisk, closeCache, closeCacheAsync, closePR, createData, createData, createNestedPR, createNestedPRAsync, createPR, createPR, createPR, createPR, createPRAsync, createPRAsync, destroyPR, fakeCleanShutdown, getBackupDir, getBucketList, getBucketList, getOfflineMembers, getOnlineMembers, getPersistentPRAttributes, getPrimaryBucketList, getPrimaryBucketList, invalidateData, localDestroyPR, moveBucket, removeData, restoreBackup, revokeAllMembers, revokeKnownMissingMembers, revokeMember, setRegionName, setUp, waitForBucketRecovery, waitForBucketRecovery, waitForBuckets, waitForRedundancyRecoveryaddExceptionTag1, 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 PersistentColocatedPartitionedRegionDUnitTest(java.lang.String name)
name - public void tearDown2()
throws java.lang.Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class CacheTestCasejava.lang.Exceptionpublic void testColocatedPRAttributes()
public void testColocatedPRs()
throws java.lang.Throwable
java.lang.Throwablepublic void testColocatedPRsRecoveryOnePRAtATime()
throws java.lang.Throwable
java.lang.Throwablepublic void testColocatedPRsRecoveryOneMemberLater()
throws java.lang.Throwable
java.lang.Throwablepublic void testReplaceOfflineMemberAndRestart()
throws java.lang.Throwable
java.lang.Throwablepublic void testReplaceOfflineMemberAndRestartTwoDiskStores()
throws java.lang.Throwable
java.lang.Throwablepublic void replaceOfflineMemberAndRestart(SerializableRunnable createPRs) throws java.lang.Throwable
java.lang.Throwablepublic void testReplaceOfflineMemberAndRestartCreateColocatedPRLate()
throws java.lang.Throwable
java.lang.Throwablepublic void testReplaceOfflineMemberAndRestartCreateColocatedPRLateTwoDiskStores()
throws java.lang.Throwable
java.lang.Throwablepublic void replaceOfflineMemberAndRestartCreateColocatedPRLate(SerializableRunnable createParentPR, SerializableRunnable createChildPR) throws java.lang.Throwable
java.lang.Throwablepublic void testCrashDuringRedundancySatisfaction()
throws java.lang.Throwable
java.lang.Throwablepublic void testRecoverySystemWithConcurrentPutter()
throws java.lang.Throwable
java.lang.Throwablepublic void testRebalanceWithOfflineChildRegion()
throws java.lang.Throwable
java.lang.Throwablepublic void testRebalanceWithOfflineChildRegionTwoDiskStores()
throws java.lang.Throwable
java.lang.Throwablepublic void testModifyColocation()
throws java.lang.Throwable
java.lang.Throwablepublic void rebalanceWithOfflineChildRegion(SerializableRunnable createParentPR, SerializableRunnable createChildPR) throws java.lang.Throwable
java.lang.ThrowableCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.