public class FunctionServiceStatsDUnitTest extends PRClientServerTestBase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2poollogPerTest, reconnect, system, testName| Constructor and Description |
|---|
FunctionServiceStatsDUnitTest(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp()
Sets up the test (noop).
|
void |
tearDown2()
Tears down the test.
|
void |
testClientServerDistributedRegionFunctionExecutionStats() |
void |
testClientServerPartitonedRegionFunctionExecutionStats() |
void |
testClientServerwithoutRegion() |
void |
testFunctionExecutionExceptionStatsOnAllNodesPRegion()
Test the exception occured while invoking the function execution on all members of DS
Function throws the Exception,
The check is added to for the no of function execution execption in datatostore1
|
void |
testP2PDistributedRegionFunctionExecutionStats()
Test the function execution statistics in case of the distributed Region P2P
DataStore0 is with Empty datapolicy
|
void |
testP2PDummyExecutionStats() |
void |
testP2PMembersFunctionExecutionStats()
Test the execution of function on all memebers haveResults = true
member1 calls for the function executions sp the results received on
memeber 1 should be equal to the no of function execution calls.
|
void |
testP2PPartitionedRegionsFunctionExecutionStats()
Ensure that the execution is happening all the PR as a whole
Function Execution will not take place on accessor, accessor will onlu receive the resultsReceived.
|
closeCache, closeCacheHA, createCacheClient_SingleConnection, createCacheClient, createCacheClientWith2Regions, createCacheClientWithDistributedRegion, createCacheClientWithoutRegion, createCacheInVm, createCacheServer, createCacheServer, createCacheServerWith2Regions, createCacheServerWithDR, createClientServerScenarion_SingleConnection, createClientServerScenarion, createClientServerScenarioNoSingleHop, createClientServerScenarionWith2Regions, createClientServerScenarionWithDistributedtRegion, createClientServerScenarionWithoutRegion, createClientServerScenarioSelectorNoSingleHop, createClientServerScenarioSingleHop, createCommonServerAttributes, createNoSingleHopCacheClient, createSelectorCacheServer, createSingleHopCacheClient, registerFunction, registerFunctionAtServer, runOnAllServers, startServerHA, stopServerHAaddExceptionTag1, basicGetCache, beginCacheXml, cleanDiskDirs, closeAllCache, 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, 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 FunctionServiceStatsDUnitTest(java.lang.String name)
public void setUp()
throws java.lang.Exception
DistributedTestCasesetUp in class PRClientServerTestBasejava.lang.Exceptionpublic void testClientServerPartitonedRegionFunctionExecutionStats()
public void testClientServerDistributedRegionFunctionExecutionStats()
public void testClientServerwithoutRegion()
public void testP2PDummyExecutionStats()
throws java.lang.Exception
java.lang.Exceptionpublic void testP2PPartitionedRegionsFunctionExecutionStats()
throws java.lang.Exception
java.lang.Exceptionpublic void testP2PDistributedRegionFunctionExecutionStats()
java.lang.Exceptionpublic void testP2PMembersFunctionExecutionStats()
throws java.lang.Exception
java.lang.Exceptionpublic void testFunctionExecutionExceptionStatsOnAllNodesPRegion()
throws java.lang.Exception
java.lang.Exceptionpublic void tearDown2()
throws java.lang.Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class PRClientServerTestBasejava.lang.ExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.