public class WanBackwardCompatibleDUnitTest extends DistributedTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
protected static com.gemstone.gemfire.cache.Cache |
cache |
logPerTest, reconnect, system, testName| Constructor and Description |
|---|
WanBackwardCompatibleDUnitTest(java.lang.String name)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
static void |
addExceptions() |
static void |
closeCache()
close the cache
|
static void |
createImpl() |
static java.lang.Object |
createServerCache(java.lang.String site,
java.lang.String name,
java.lang.Integer ePort1,
java.lang.Integer ePort2,
java.lang.String host)
Creates the server cache, and configure wan
|
static void |
doGet(java.lang.Integer n)
perform get operation to verify total entry count recieved
|
static void |
doPuts(java.lang.Integer min,
java.lang.Integer max)
perform put operation
|
protected com.gemstone.gemfire.cache.AttributesFactory |
getServerCacheAttributesFactory() |
static void |
removeExceptions() |
static void |
setHandshakeVersionForTesting(java.lang.Short val) |
void |
setUp()
Sets up the test (noop).
|
void |
tearDown2()
close the clients and the servers
|
void |
testGatewayConnectivityWithDifferentVersionedWan()
This test does the following :
1)Create two wan site with different version 2)Perform put operation on each site 3)Verifies events recieved on each wan site |
void |
testGatewayConnectivityWithOneUnsupportedVersionedWan()
This test does the following :
1)Create two wan site one is version and other is unversion 2)Perform put operation on each site 3)Verifies events recieved on each wan site |
addExpectedException, addExpectedException, addHydraProperties, attachDebugger, checkBBFlag, cleanupAllVms, clearBBFlag, crashDistributedSystem, crashDistributedSystem, createLogWriter, disconnectAllFromDS, disconnectFromDS, 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 WanBackwardCompatibleDUnitTest(java.lang.String name)
public static void createImpl()
public void setUp()
throws java.lang.Exception
DistributedTestCasesetUp in class DistributedTestCasejava.lang.Exceptionpublic void testGatewayConnectivityWithDifferentVersionedWan()
public void testGatewayConnectivityWithOneUnsupportedVersionedWan()
public static java.lang.Object createServerCache(java.lang.String site,
java.lang.String name,
java.lang.Integer ePort1,
java.lang.Integer ePort2,
java.lang.String host)
throws java.lang.Exception
site - - used to configure gateway endpointname - - used to generate nameePort1 - -
GatewayHub portePort2 - -
other GatewayHub portjava.lang.Exception - -
thrown if any problem occurs in setting up the serverprotected com.gemstone.gemfire.cache.AttributesFactory getServerCacheAttributesFactory()
public void tearDown2()
throws java.lang.Exception
tearDown2 in class DistributedTestCasejava.lang.Exceptionpublic static void closeCache()
public static void doPuts(java.lang.Integer min,
java.lang.Integer max)
throws java.lang.Exception
java.lang.Exceptionpublic static void doGet(java.lang.Integer n)
throws java.lang.Exception
java.lang.Exceptionpublic static void setHandshakeVersionForTesting(java.lang.Short val)
throws java.lang.Exception
java.lang.Exceptionpublic static void addExceptions()
throws java.lang.Exception
java.lang.Exceptionpublic static void removeExceptions()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.