public class PartitionedRegionSizeDUnitTest extends PartitionedRegionDUnitTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
static String |
PR_PREFIX |
cachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
PartitionedRegionSizeDUnitTest(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 String PR_PREFIX
public PartitionedRegionSizeDUnitTest(String name)
public void sizeOpsForDistAckSync()
throws Exception
Exceptionpublic void sizeOpsForDistAckASync()
throws Throwable
public void sizeOpsForDistAckSyncChangingVMCount()
throws Exception
Exceptionpublic void testSize()
throws Throwable
public long runProportionalSize(SerializableRunnable createPRs) throws Exception
Exceptionprotected com.gemstone.gemfire.cache.RegionAttributes createRegionAttributesForPR(int redundancy,
int localMaxMem)
redundancy - localMaxMem - Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.