public class PRClientServerRegionFunctionExecutionFailoverDUnitTest extends PRClientServerTestBase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2poollogPerTest, reconnect, system, testName| Constructor and Description |
|---|
PRClientServerRegionFunctionExecutionFailoverDUnitTest(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkSize() |
static void |
createClientWithLocator(java.lang.String host,
int port0) |
protected void |
createScenario() |
static int |
createServerWithLocator(java.lang.String locator,
boolean isAccessor,
java.util.ArrayList commonAttrs) |
static java.lang.Object |
executeFunction() |
static void |
fetchMetaData() |
static void |
putIntoRegion() |
void |
setUp()
Sets up the test (noop).
|
void |
startLocatorInVM(int locatorPort) |
static void |
stopLocator() |
void |
tearDown2()
Tears down the test.
|
void |
testBug40714() |
void |
testOnRegionFailoverNonHA() |
void |
testOnRegionFailoverWithTwoServerDownHA() |
void |
testServerBucketMovedException_LocalServer() |
void |
testServerBucketMovedException() |
void |
testServerCacheClosedFailoverWithTwoServerAliveHA() |
void |
testServerFailoverWithTwoServerAliveHA() |
void |
testserverMultiKeyExecution_SocektTimeOut() |
void |
xtestOnRegionFailoverWithOneServerDownHA() |
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 PRClientServerRegionFunctionExecutionFailoverDUnitTest(java.lang.String name)
public void setUp()
throws java.lang.Exception
DistributedTestCasesetUp in class PRClientServerTestBasejava.lang.Exceptionpublic void tearDown2()
throws java.lang.Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class PRClientServerTestBasejava.lang.Exceptionpublic void testserverMultiKeyExecution_SocektTimeOut()
public void testServerFailoverWithTwoServerAliveHA()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void testServerCacheClosedFailoverWithTwoServerAliveHA()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void testBug40714()
public void testOnRegionFailoverWithTwoServerDownHA()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void xtestOnRegionFailoverWithOneServerDownHA()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void testOnRegionFailoverNonHA()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void testServerBucketMovedException()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void testServerBucketMovedException_LocalServer()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic static void fetchMetaData()
public void startLocatorInVM(int locatorPort)
public static void stopLocator()
public static int createServerWithLocator(java.lang.String locator,
boolean isAccessor,
java.util.ArrayList commonAttrs)
public static void createClientWithLocator(java.lang.String host,
int port0)
public static void putIntoRegion()
public static java.lang.Object executeFunction()
public static void checkSize()
protected void createScenario()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.