public class MemberInfoWithStatsMBeanGFEValidationDUnitTest extends AdminDUnitTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2agent, AGENT_VM, debug, NUM_RETRY, RETRY_INTERVAL, shutdownThread, tcSystem, urlStringcachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
MemberInfoWithStatsMBeanGFEValidationDUnitTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
static void |
destroyWanQueues() |
Properties |
getDistributedSystemProperties()
Over-ridden to ensure that all the members connect to the same distributed
system.
|
static void |
initDSProperties(int mcastPort)
Initializes the properties for the distributed system to be started.
|
protected boolean |
isJMX()
Whether JMX is to be used in this test case.
|
void |
setUp()
In addition to the setup done by the superclass, also creates a
DistributedSystem admin object. |
void |
tearDown2()
Destroys the
DistributedSystem created in AdminDUnitTestCase.setUp()
and performs the tear down inherited from the superclass. |
void |
testGatewayHubDetails()
Test to check Gateway Hub Details obtained through
MemberInfoWithStatsMBean.
|
void |
testRegionAndClientDetailsWithOps()
Test to check region & client details obtained through
MemberInfoWithStatsMBean with Operations done in between.
|
void |
testVaryingValues() |
assertAgent, assertLog, createDistributedSystem, disconnect, getAdminDistributedSystem, getDistributedMember, getDistributionConfig, getLocators, isRMI, isSSL, reconnectToSystem, startAgent, stopAgentaddExceptionTag1, 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, 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 MemberInfoWithStatsMBeanGFEValidationDUnitTest(String name)
protected boolean isJMX()
true.isJMX in class AdminDUnitTestCasepublic void testGatewayHubDetails()
throws Exception
Exception - one of the reasons could be failure of JMX operationspublic void testRegionAndClientDetailsWithOps()
throws Exception
Exception - one of the reasons could be failure of JMX operationspublic static void destroyWanQueues()
public Properties getDistributedSystemProperties()
getDistributedSystemProperties in class DistributedTestCasepublic static void initDSProperties(int mcastPort)
public void setUp()
throws Exception
AdminDUnitTestCaseDistributedSystem admin object.setUp in class AdminDUnitTestCaseExceptionpublic void tearDown2()
throws Exception
AdminDUnitTestCaseDistributedSystem created in AdminDUnitTestCase.setUp()
and performs the tear down inherited from the superclass.tearDown2 in class AdminDUnitTestCaseExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.