public class ResourceManagerDUnitTest extends CacheTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
static int |
SYSTEM_LISTENERS |
cachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
ResourceManagerDUnitTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
testBecomePrimaryBucketMessage() |
void |
testCreateRedundantBucket()
Creates a bucket on two members.
|
void |
testCreateRedundantColocatedBuckets()
Creates colocated buckets on two members.
|
void |
testDeposePrimaryBucketMessage() |
void |
testGetInternalPRDetails()
Creates partitioned regions in multiple vms and fully exercises the
internal-only getInternalPRDetails API on ResourceManager.
|
void |
testGetPartitionedRegionDetails()
Creates partitioned regions in multiple vms and fully exercises the
getPartitionedRegionDetails API on ResourceManager.
|
void |
testMoveBucket()
Creates a bucket on two members.
|
void |
testMoveColocatedBuckets()
Creates colocated buckets on two members.
|
void |
testRemoveBucketMessage() |
void |
testRemoveColocatedBuckets()
Creates a chain of three colocated PRs and then calls removeBucket
to make sure that all colocated buckets are removed together.
|
void |
testRemoveDuringContainsKey() |
void |
testRemoveDuringContainsValueForKey() |
void |
testRemoveDuringEntrySet() |
void |
testRemoveDuringGet() |
void |
testRemoveDuringGetEntry() |
void |
testRemoveDuringKeySet() |
void |
testRemoveDuringQuery() |
void |
testRemoveDuringValues() |
void |
testResourceManagerBasics()
Creates a cache in the controller and exercises all methods on the
ResourceManager without having any partitioned regions defined.
|
addExceptionTag1, 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, 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 int SYSTEM_LISTENERS
public ResourceManagerDUnitTest(String name)
public void testResourceManagerBasics()
public void testGetPartitionedRegionDetails()
public void testGetInternalPRDetails()
public void testDeposePrimaryBucketMessage()
public void testBecomePrimaryBucketMessage()
public void testRemoveDuringGetEntry()
public void testRemoveDuringGet()
public void testRemoveDuringContainsKey()
public void testRemoveDuringContainsValueForKey()
public void testRemoveDuringKeySet()
public void testRemoveDuringValues()
public void testRemoveDuringEntrySet()
public void testRemoveDuringQuery()
public void testRemoveBucketMessage()
public void testRemoveColocatedBuckets()
public void testCreateRedundantBucket()
public void testCreateRedundantColocatedBuckets()
public void testMoveBucket()
public void testMoveColocatedBuckets()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.