public class PersistentPartitionedRegionDUnitTest extends PersistentPartitionedRegionTestBase
| Modifier and Type | Class and Description |
|---|---|
static class |
PersistentPartitionedRegionDUnitTest.BadSerializer |
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2PR_REGION_NAMEcachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
PersistentPartitionedRegionDUnitTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
DISABLED_Bug48435_testCloseDuringRegionOperation() |
void |
testAllowRegionUseBeforeRedundancyRecovery()
A test to make sure that we allow the PR to be used
after at least one copy of every bucket is recovered,
but before the secondaries are initialized.
|
void |
testBadSerializationInAsyncThread()
Test for bug #49972 - handle a serialization error in the
async writer thread.
|
void |
testBug41340()
This test this case
we replace buckets where are offline on A by creating them on C
We then shutdown C and restart A, which recovers those buckets
|
void |
testBug41341()
Test that we don't record our old
member ID as offline, preventing redundancy
recovery in the future.
|
void |
testBug42226()
Test for bug 4226.
|
void |
testChangedToalBucketNumberSinglePR()
Test total-buckets-num getting bigger, which cause exception.
|
void |
testCleanStop() |
void |
testCleanupAfterConflict() |
void |
testConcurrencyChecksEnabled() |
void |
testCrashDuringBucketCreation()
Test for bug 41336
|
void |
testCrashDuringBucketGII()
A test for bug 41436.
|
void |
testCrashDuringBucketGII2()
Another test for bug 41436.
|
void |
testDestroyedMemberRedundancy0()
Test to make sure that we recreate
a bucket if a member is destroyed
|
void |
testDestroyedMemberRedundancy1()
Test to make sure that we recreate
a bucket if a member is destroyed
|
void |
testMissingMemberRedundancy0()
Test that we wait for missing data to come back
if the redundancy was 0.
|
void |
testMissingMemberRedundancy1()
Test the with redundancy
1, we restore the same buckets when the
missing member comes back online.
|
void |
testMoveBucket() |
void |
testNestedPRRegions() |
void |
testNonPersistentProxy() |
void |
testOverflowCacheClose()
This test is in here just to test to make
sure that we don't get a suspect string
with an exception during cache closure.
|
void |
testPrimaryBalanceAfterRecovery()
Test to make sure that primaries are rebalanced after recovering from
disk.
|
void |
testRegisterInterestNoDataStores() |
void |
testReplicateAfterPersistent() |
void |
testRevokeAfterStartup() |
void |
testRevokeBeforeStartup() |
void |
testRevokedMemberRedundancy0()
Test to make sure that we recreate
a bucket if a member is revoked
|
void |
testRevokedMemberRedundancy1()
Test to make sure that we recreate
a bucket if a member is revoked
|
void |
testRevokedMemberRedundancy1ImmediateRecovery()
Test to make sure that we recreate
a bucket if a member is revoked, and
that we do it immediately if recovery delay
is set to 0.
|
void |
testSinglePR()
A simple test case that we are actually
persisting with a PR.
|
void |
testSinglePRWithCustomExpiry()
Test for bug 44184
|
void |
testTotalRecoverRedundancy0()
Test to make sure that we can recover
from a complete system shutdown with redundancy
0
|
void |
testTotalRecoverRedundancy1()
Test to make sure that we can recover
from a complete system shutdown with redundancy
1
|
void |
totalRecoverTest(int redundancy) |
void |
z_testThrowAwayUneededBucket()
Test that we throw away a bucket
if we restored redundancy while
that bucket was offline.
|
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, sendUnorderedMessageToAll, tearDown2addExpectedException, 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 PersistentPartitionedRegionDUnitTest(String name)
public void testSinglePR()
public void testChangedToalBucketNumberSinglePR()
public void testSinglePRWithCustomExpiry()
public void testTotalRecoverRedundancy0()
throws Throwable
Throwablepublic void testTotalRecoverRedundancy1()
throws Throwable
Throwablepublic void testBadSerializationInAsyncThread()
throws Throwable
Throwablepublic void testMissingMemberRedundancy0()
public void testDestroyedMemberRedundancy0()
public void testDestroyedMemberRedundancy1()
public void testRevokedMemberRedundancy0()
public void testRevokedMemberRedundancy1()
throws Throwable
Throwablepublic void testRevokedMemberRedundancy1ImmediateRecovery()
throws Throwable
Throwablepublic void testBug41340()
throws Throwable
Throwablepublic void testMissingMemberRedundancy1()
public void testBug41341()
public void z_testThrowAwayUneededBucket()
public void testRegisterInterestNoDataStores()
public void testOverflowCacheClose()
public void testCrashDuringBucketCreation()
throws Throwable
Throwablepublic void DISABLED_Bug48435_testCloseDuringRegionOperation()
throws Throwable
Throwablepublic void testBug42226()
throws Throwable
Throwablepublic void testAllowRegionUseBeforeRedundancyRecovery()
throws Throwable
Throwablepublic void testCrashDuringBucketGII()
public void testCrashDuringBucketGII2()
throws InterruptedException
InterruptedExceptionpublic void testPrimaryBalanceAfterRecovery()
throws Throwable
Throwablepublic void testConcurrencyChecksEnabled()
public void testNonPersistentProxy()
public void testReplicateAfterPersistent()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.