public class PersistentColocatedPartitionedRegionDUnitTest extends PersistentPartitionedRegionTestBase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2PR_REGION_NAMEcachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
PersistentColocatedPartitionedRegionDUnitTest(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(String name)
name - public void tearDown2()
throws Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class CacheTestCaseExceptionpublic void testColocatedPRAttributes()
public void testColocatedPRs()
throws Throwable
Throwablepublic void testColocatedPRsRecoveryOnePRAtATime()
throws Throwable
Throwablepublic void testColocatedPRsRecoveryOneMemberLater()
throws Throwable
Throwablepublic void testReplaceOfflineMemberAndRestart()
throws Throwable
Throwablepublic void testReplaceOfflineMemberAndRestartTwoDiskStores()
throws Throwable
Throwablepublic void replaceOfflineMemberAndRestart(SerializableRunnable createPRs) throws Throwable
Throwablepublic void testReplaceOfflineMemberAndRestartCreateColocatedPRLate()
throws Throwable
Throwablepublic void testReplaceOfflineMemberAndRestartCreateColocatedPRLateTwoDiskStores()
throws Throwable
Throwablepublic void replaceOfflineMemberAndRestartCreateColocatedPRLate(SerializableRunnable createParentPR, SerializableRunnable createChildPR) throws Throwable
Throwablepublic void testCrashDuringRedundancySatisfaction()
throws Throwable
Throwablepublic void testRecoverySystemWithConcurrentPutter()
throws Throwable
Throwablepublic void testRebalanceWithOfflineChildRegion()
throws Throwable
Throwablepublic void testRebalanceWithOfflineChildRegionTwoDiskStores()
throws Throwable
Throwablepublic void testModifyColocation()
throws Throwable
Throwablepublic void rebalanceWithOfflineChildRegion(SerializableRunnable createParentPR, SerializableRunnable createChildPR) throws Throwable
ThrowableCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.