public class WanTXValidationDUnitTest extends DistributedTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2logPerTest, reconnect, system, testName| Constructor and Description |
|---|
WanTXValidationDUnitTest(String name)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
static void |
closeCache()
close the cache
|
static void |
createImpl() |
static Object |
createServerCache(String myHubId,
String hubImSendingTo,
Integer listenOnPort,
Integer sendToPort,
String host,
int mcast_port,
boolean enableStorage,
boolean enableGateway)
Creates the server cache, and configure wan
|
void |
DISABLED_TILL_NEW_TX_IMPL_COMPLETE_testPutAndCommitInTheAccessorWithGatewayInAccessor() |
void |
DISABLED_TILL_NEW_TX_IMPL_COMPLETE_testPutAndCommitInTheDatastoreWithGatewayInAccessor() |
void |
doBasicTest(VM gnode1,
VM gnode2,
VM anode1,
VM anode2,
VM doPuts1,
VM doPuts2,
boolean storageInGateway) |
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(boolean enableStorage) |
void |
setUp()
Sets up the test (noop).
|
void |
tearDown2()
close the clients and the servers
|
void |
testPutAndCommitInTheAccessorWithGatewayInDatastore() |
void |
testPutAndCommitInTheDatastoreWithGatewayInDS()
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 WanTXValidationDUnitTest(String name)
public void setUp()
throws Exception
DistributedTestCasesetUp in class DistributedTestCaseExceptionpublic static void createImpl()
public void testPutAndCommitInTheDatastoreWithGatewayInDS()
public void DISABLED_TILL_NEW_TX_IMPL_COMPLETE_testPutAndCommitInTheDatastoreWithGatewayInAccessor()
public void DISABLED_TILL_NEW_TX_IMPL_COMPLETE_testPutAndCommitInTheAccessorWithGatewayInAccessor()
public void testPutAndCommitInTheAccessorWithGatewayInDatastore()
public void doBasicTest(VM gnode1, VM gnode2, VM anode1, VM anode2, VM doPuts1, VM doPuts2, boolean storageInGateway)
public static Object createServerCache(String myHubId, String hubImSendingTo, Integer listenOnPort, Integer sendToPort, String host, int mcast_port, boolean enableStorage, boolean enableGateway) 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(boolean enableStorage)
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.