public class DeltaPropgationWanValidationDUnitTest extends DistributedTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2logPerTest, reconnect, system, testName| Constructor and Description |
|---|
DeltaPropgationWanValidationDUnitTest(String name)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
static void |
closeCache()
close the cache
|
static void |
createImpl() |
static Object |
createServerCache(String site,
String name,
Integer ePort1,
Integer ePort2,
String host)
Creates the server cache, and configure wan
|
static void |
doGet(Integer n)
perform get operation to verify total entry count recieved
|
static void |
doPuts(String key)
perform put operation
|
protected com.gemstone.gemfire.cache.AttributesFactory |
getServerCacheAttributesFactory() |
void |
setUp()
Sets up the test (noop).
|
void |
tearDown2()
close the clients and the servers
|
void |
testDeltaPropgationValidationWan()
This test does the following :
1)Create two wan site 2)Perform put operation with Delta types as object 3)Verifies full object is recieved |
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 DeltaPropgationWanValidationDUnitTest(String name)
public void setUp()
throws Exception
DistributedTestCasesetUp in class DistributedTestCaseExceptionpublic static void createImpl()
public void testDeltaPropgationValidationWan()
public static Object createServerCache(String site, String name, Integer ePort1, Integer ePort2, String host) throws Exception
site - -
used to configure gateway endpointname - -
used to generate nameePort1 - -
GatewayHub portePort2 - -
other GatewayHub portException - -
thrown if any problem occurs in setting up the serverprotected com.gemstone.gemfire.cache.AttributesFactory getServerCacheAttributesFactory()
public void tearDown2()
throws Exception
tearDown2 in class DistributedTestCaseExceptionpublic static void closeCache()
public static void doPuts(String key) throws Exception
ExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.