public class PartitionedRegionSizeDUnitTest extends PartitionedRegionDUnitTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PR_PREFIX |
cachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
PartitionedRegionSizeDUnitTest(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
protected com.gemstone.gemfire.cache.RegionAttributes |
createRegionAttributesForPR(int redundancy,
int localMaxMem)
This private methods sets the passed attributes and returns RegionAttribute
object, which is used in create region
|
long |
runProportionalSize(SerializableRunnable createPRs) |
void |
sizeOpsForDistAckASync()
This method creates Partitioned Region (Scope DIST_ACK, Redundancy = 1)
with DataStores on 3 VMs and only accessor on 4th VM.
|
void |
sizeOpsForDistAckSync()
This method creates Partitioned Region (Scope DIST_ACK, Redundancy = 1)
with DataStores on 3 VMs and only accessor on 4th VM.
|
void |
sizeOpsForDistAckSyncChangingVMCount()
This method creates Partitioned Region (Scope DIST_ACK, Redundancy = 1)
with DataStores on 2 VMs and then it does put operations synchronosly.
|
void |
testBug39868() |
void |
testByteSize() |
void |
testByteSizeWithEviction() |
void |
testSize()
This test method invokes methods doing size validation on PRs.
|
caseSetUp, caseTearDown, createMultiplePartitionRegion, createMultiplePartitionRegion, createRegionAttrsForPR, destroyInMultiplePartitionRegion, destroyRegionInMultiplePartitionRegion, disconnectVM, getCreateMultiplePRregion, getInMultiplePartitionRegion, getRemovedOrDestroyedInMultiplePartitionRegion, invalidatesInMultiplePartitionRegion, putAfterDestroyInMultiplePartitionedRegion, putInMultiplePartitionRegion, resetVMLogLevel, setLogLevel, setVMInfoLogLevel, tearDown2, validateMultiplePartitionRegionaddExceptionTag1, 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, setUp, 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 static final java.lang.String PR_PREFIX
public PartitionedRegionSizeDUnitTest(java.lang.String name)
public void sizeOpsForDistAckSync()
throws java.lang.Exception
java.lang.Exceptionpublic void sizeOpsForDistAckASync()
throws java.lang.Throwable
java.lang.Exceptionjava.lang.Throwablepublic void sizeOpsForDistAckSyncChangingVMCount()
throws java.lang.Exception
java.lang.Exceptionpublic void testSize()
throws java.lang.Throwable
java.lang.Exceptionjava.lang.Throwablepublic void testBug39868()
throws java.lang.Exception
java.lang.Exceptionpublic void testByteSize()
throws java.lang.Exception
java.lang.Exceptionpublic void testByteSizeWithEviction()
throws java.lang.Exception
java.lang.Exceptionpublic long runProportionalSize(SerializableRunnable createPRs) throws java.lang.Exception
java.lang.Exceptionprotected com.gemstone.gemfire.cache.RegionAttributes createRegionAttributesForPR(int redundancy,
int localMaxMem)
redundancy - localMaxMem - Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.