public class ConcurrentParallelGatewaySenderDUnitTest extends WANTestBase
WANTestBase.MyGatewayEventFilter, WANTestBase.MyLocatorCallback, WANTestBase.PDXGatewayEventFilter, WANTestBase.PutTaskDistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2cache, customerRegion, customerRegionName, destroyFlag, eventFilter, eventListener1, eventListener2, gatewayListeners, listener1, listener2, orderRegion, orderRegionName, region, shipmentRegion, shipmentRegionName, vm0, vm1, vm2, vm3, vm4, vm5, vm6, vm7logPerTest, reconnect, system, testName| Constructor and Description |
|---|
ConcurrentParallelGatewaySenderDUnitTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
static void |
setTestHook(String senderId,
boolean hook) |
void |
setUp()
Sets up the test (noop).
|
void |
testParallelColocatedPropagation()
Colocated regions using ConcurrentParallelGatewaySender.
|
void |
testParallelColocatedPropagationOrderPolicyPartition()
Colocated regions using ConcurrentParallelGatewaySender.
|
void |
testParallelPropagation_withoutRemoteSite()
Initially the GatewayReceiver is not up but later it comes up.
|
void |
testParallelPropagation()
Normal happy scenario test case.
|
void |
testParallelPropagationConcurrentArtifacts()
Normal happy scenario test case.
|
void |
testParallelPropagationWithLocalCacheClosedAndRebuilt()
Local and remote sites are up and running.
|
void |
testParallelPropagationWithUnEqualBucketDivison()
Normal happy scenario test case when bucket division tests boundary cases.
|
void |
testParallelPropogationColocatedPartitionedRegions()
Testing for colocated region with orderpolicy Partition
|
void |
testPartitionedParallelPropagationHA() |
void |
testWANPDX_PR_MultipleVM_ConcurrentParallelSender_StartedLater() |
void |
testWANPDX_PR_MultipleVM_ConcurrentParallelSender() |
addCacheListenerAndCloseCache, addCacheListenerAndDestroyRegion, addListenerAndKillPrimary, addListenerOnBucketRegion, addListenerOnGateway, addListenerOnQueueBucketRegion, addListenerOnRegion, addQueueListener, addSecondQueueListener, bringBackLocatorOnOldPort, checkAllSiteMetaData, checkAllSiteMetaDataFor3Sites, checkAsyncEventQueueBatchStats, checkAsyncEventQueueConflatedStats, checkAsyncEventQueueSize, checkAsyncEventQueueStats_Failover, checkAsyncEventQueueStats, checkAsyncEventQueueUnprocessedStats, checkBatchStats, checkBatchStats, checkBR, checkConflatedStats, CheckContent, checkEventFilteredStats, checkExcepitonStats, checkGatewayReceiverStats, checkGatewayReceiverStatsHA, checkGateways, checkLocatorsinSender, checkMinimumGatewayReceiverStats, checkPR, checkPRQLocalSize, checkQueue_BR, checkQueue_PR, checkQueue, checkQueue2, checkQueueOnSecondary, checkQueueSize, checkQueueStats, checkStats_Failover, checkUnProcessedStats, closeCache, createAsyncEventQueue, createAsyncEventQueueWithCustomListener, createAsyncEventQueueWithDiskStore, createAsyncEventQueueWithListener2, createCache_PDX, createCache, createCache, createCache, createCacheServer, createCacheWithoutLocator, createClientWithLocator, createColocatedPartitionedRegion, createColocatedPartitionedRegions, createColocatedPartitionedRegions2, createColocatedPartitionedRegionWithAsyncEventQueue, createConcurrentAsyncEventQueue, createConcurrentSender, createCustomerOrderShipmentPartitionedRegion, createEndPoint, createFirstLocatorWithDSId, createFirstPeerLocator, createFirstRemoteLocator, createFirstRemotePeerLocator, createGatewayHub, createGatewayHub, createLocator, createManagementCache, createNormalRegion, createPartitionedRegion_WithGatewayEnabled, createPartitionedRegion, createPartitionedRegionAccessorWithAsyncEventQueue, createPartitionedRegionAsAccessor, createPartitionedRegionWithAsyncEventQueue, createPartitionedRegionWithSerialParallelSenderIds, createPersistentPartitionedRegion, createPersistentPartitionedRegionWithAsyncEventQueue, createPersistentReplicatedRegion, createPersistentReplicatedRegionWithAsyncEventQueue, createPRWithRedundantCopyWithAsyncEventQueue, createReceiver_PDX, createReceiver, createReceiver2, createReceiverAfterCache, createReceiverAndServer, createReceiverInSecuredCache, createReplicatedRegion_WithGatewayEnabled, createReplicatedRegion, createReplicatedRegion, createReplicatedRegionWithAsyncEventQueue, createReplicatedRegionWithSenderAndAsyncEventQueue, createSecondLocator, createSecondPeerLocator, createSecondRemoteLocator, createSecondRemotePeerLocator, createSecuredCache, createSender, createSenderForValidations, createSenderWithDiskStore, createSenderWithListener, createSenderWithoutDiskStore, createServer, destroyRegion, destroyRegionAfterMinRegionSize, destroySender, doDestroys, doHeavyPuts, doMultiThreadedPuts, doNextPuts, doPutAll, doPuts, doPutsAfter300, doPutsFrom, doPutsPDXSerializable, doPutsWithKeyAsString, doRandomUpdates, doRebalance, doTxPuts, doUpdateOnSameKey, doUpdates, getAllPrimaryBucketsOnTheNode, getAsyncEventListenerMapSize, getAsyncEventQueueSize, getCacheServers, getNumberOfEntriesInVM, getNumberOfEntriesOverflownToDisk, getPrimaryStatus, getQueueContentSize, getRegionFullPath, getRegionSize, getSenderStats, getSenderToReceiverConnectionInfo, getSystem, isOffHeap, killAsyncEventQueue, killSender, killSender, localDestroyRegion, pauseAsyncEventQueue, pauseAsyncEventQueueAndWaitForDispatcherToPause, pauseGateway, pauseSender, pauseSenderAndWaitForDispatcherToPause, pauseWaitCriteria, printEventListenerMap, putcolocatedPartitionedRegion, putCustomerPartitionedRegion, putGivenKeyValue, putOrderPartitionedRegion, putOrderPartitionedRegionUsingCustId, putShipmentPartitionedRegion, putShipmentPartitionedRegionUsingCustId, removeSenderFromTheRegion, resumeAsyncEventQueue, resumeSender, setRemoveFromQueueOnException, shutdownLocator, startAsyncEventQueue, startGatewayHub, startSender, stopSender, tearDown2, unsetRemoveFromQueueOnException, updateCustomerPartitionedRegion, updateOrderPartitionedRegion, updateOrderPartitionedRegionUsingCustId, updateShipmentPartitionedRegion, updateShipmentPartitionedRegionUsingCustId, validateAsyncEventListener, validateAsyncEventQueueAttributes, validateConcurrentAsyncEventQueueAttributes, validateCustomAsyncEventListener, validateParallelSenderQueueAllBucketsDrained, validateParallelSenderQueueBucketSize, validateQueueClosedForConcurrentSerialGatewaySender, validateQueueContents, validateQueueContentsForConcurrentSerialGatewaySender, validateRegionContents, validateRegionContentsForPR, validateRegionSize_PDX, validateRegionSize, validateRegionSizeRemainsSame, verifyAndGetEventsDispatchedByConcurrentDispatchers, verifyAsyncEventListenerForPossibleDuplicates, verifyPrimaryStatus, verifyQueueSize, verifyRegionQueueNotEmpty, verifyRegionQueueNotEmptyForConcurrentSender, verifySenderDestroyed, verifySenderPausedState, verifySenderResumedState, verifySenderRunningState, verifySenderStoppedState, waitForAsyncEventQueueSize, waitForAsyncQueueToGetEmpty, waitForSenderRunningState, waitForSenderToBecomePrimaryaddExpectedException, 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, 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 ConcurrentParallelGatewaySenderDUnitTest(String name)
public void setUp()
throws Exception
DistributedTestCasesetUp in class WANTestBaseExceptionpublic void testParallelPropagationConcurrentArtifacts()
throws Exception
Exceptionpublic void testParallelPropagation()
throws Exception
Exceptionpublic void testParallelPropagationWithUnEqualBucketDivison()
throws Exception
Exceptionpublic void testParallelPropagation_withoutRemoteSite()
throws Exception
Exceptionpublic void testParallelPropogationColocatedPartitionedRegions()
public void testParallelPropagationWithLocalCacheClosedAndRebuilt()
throws Exception
Exceptionpublic void testParallelColocatedPropagation()
throws Exception
Exceptionpublic void testParallelColocatedPropagationOrderPolicyPartition()
throws Exception
Exceptionpublic void testPartitionedParallelPropagationHA()
throws Exception
Exceptionpublic void testWANPDX_PR_MultipleVM_ConcurrentParallelSender()
public void testWANPDX_PR_MultipleVM_ConcurrentParallelSender_StartedLater()
public static void setTestHook(String senderId, boolean hook)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.