public class AdminAndCacheDUnitTest extends CacheTestCase
Cache and admin APIs in the
same VM.DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2cachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
AdminAndCacheDUnitTest(java.lang.String name)
Creates a new
AdminAndCacheDUnitTest with the given
name. |
| Modifier and Type | Method and Description |
|---|---|
void |
testBug39747()
Test that disconnecting a colocated admin client from a normal peer
removes the admin client from the normal member list on the peer.
|
void |
testCacheAndRegions()
Makes sure that the admin API can be used to see a VM's own
cache and regions.
|
void |
testDistributionLocatorIsRunning() |
void |
testNoAdminDisconnect()
Make sure that admin stuff gets cleaned up on peer DMs when the DistributedSystem
shutsdown but the adminDS does not.
|
void |
testOtherCacheAndRegions()
Tests that the admin API launched in an application VM can see
caches and regions in other members of the distributed system.
|
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 AdminAndCacheDUnitTest(java.lang.String name)
AdminAndCacheDUnitTest with the given
name.public void testCacheAndRegions()
throws java.lang.Exception
java.lang.Exceptionpublic void testOtherCacheAndRegions()
throws java.lang.Exception
java.lang.Exceptionpublic void testBug39747()
throws java.lang.Exception
java.lang.Exceptionpublic void testNoAdminDisconnect()
throws java.lang.Exception
java.lang.Exceptionpublic void testDistributionLocatorIsRunning()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.