public class DeltaPropgationWanValidationDUnitTest extends DistributedTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2logPerTest, reconnect, system, testName| Constructor and Description |
|---|
DeltaPropgationWanValidationDUnitTest(java.lang.String name)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
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.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(java.lang.String name)
public void setUp()
throws java.lang.Exception
DistributedTestCasesetUp in class DistributedTestCasejava.lang.Exceptionpublic static void createImpl()
public void testDeltaPropgationValidationWan()
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.String key)
throws java.lang.Exception
java.lang.Exceptionpublic static void doGet(java.lang.Integer n)
throws java.lang.Exception
java.lang.ExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.