public class WanValidationsDUnitTest 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 |
|---|
WanValidationsDUnitTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
_testDispatcherThreadsForParallelGatewaySender() |
void |
setUp()
Sets up the test (noop).
|
void |
test_GetCacheServersDoesNotReturnReceivers_Scenario2()
Added for the defect # 44372.
|
void |
test_GetCacheServersDoesNotReturnReceivers()
This test has been added for the defect # 44372.
|
void |
testAlertThreshold() |
void |
testBatchConflation() |
void |
testGatewayEventFilters() |
void |
testGatewayEventFilters2() |
void |
testGatewayTransportFilters() |
void |
testGatewayTransportFiltersOrder() |
void |
testIsDiskSynchronous() |
void |
testisPersistentEnabled() |
void |
testManualStart() |
void |
testOrderPolicyForParallelGatewaySender() |
void |
testParallelGatewaySenderForDistributedRegion()
Validate that ParallelGatewaySender can be added to Distributed region
|
void |
testParallelSenderOnBothCache() |
void |
testReplicatedSerialAsyncEventQueueWithPeristenceEnabled() |
void |
testSameParallelGatewaySenderIdAcrossColocatedPartitionedRegion() |
void |
testSameParallelGatewaySenderIdAcrossColocatedPartitionedRegion2()
Validate that if Colocated partitioned region doesn't want to add a PGS even if its
parent has one then it is fine
|
void |
testSameParallelGatewaySenderIdAcrossColocatedPartitionedRegion3()
Validate that if Colocated partitioned region has a subset of PGS
then it is fine.
|
void |
testSameParallelGatewaySenderIdAcrossColocatedPartitionedRegion4()
Validate that if Colocated partitioned region has a superset of PGS
then Exception is thrown.
|
void |
testSameParallelGatewaySenderIdAcrossDifferentPartitionedRegion()
Test to make sure that same parallel gateway sender id can be used by 2
different PRs
|
void |
testSameParallelGatewaySenderIdAcrossSamePartitionedRegion()
Test to make sure that parallel sender Ids configured in partitioned
regions should be same across all PR members
|
void |
testSameRemoteDSAcrossSameSender() |
void |
testSameSerialGatewaySenderIdAcrossSameDistributedRegion()
Test to make sure that serial sender Ids configured in Distributed Region
is same across all DR nodes TODO : Should this validation hold tru now.
|
void |
testSameSerialGatewaySenderIdAcrossSamePartitionedRegion()
Test to make sure that serial sender Ids configured in partitioned regions
should be same across all PR members
|
void |
testSerialGatewaySenderAndParallelGatewaySenderWithSameName()
SerialGatewaySender and ParallelGatewaySender with same name is allowed
|
void |
testSerialSenderOnBothCache() |
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 WanValidationsDUnitTest(String name)
public void setUp()
throws Exception
DistributedTestCasesetUp in class WANTestBaseExceptionpublic void testSameSerialGatewaySenderIdAcrossSameDistributedRegion()
throws Exception
Exceptionpublic void testParallelGatewaySenderForDistributedRegion()
throws Exception
Exceptionpublic void testSameSerialGatewaySenderIdAcrossSamePartitionedRegion()
throws Exception
Exceptionpublic void testReplicatedSerialAsyncEventQueueWithPeristenceEnabled()
public void testSameParallelGatewaySenderIdAcrossSamePartitionedRegion()
throws Exception
Exceptionpublic void testSameParallelGatewaySenderIdAcrossDifferentPartitionedRegion()
throws Exception
Exceptionpublic void testSameParallelGatewaySenderIdAcrossColocatedPartitionedRegion()
throws Exception
Exceptionpublic void testSameParallelGatewaySenderIdAcrossColocatedPartitionedRegion2()
throws Exception
Exceptionpublic void testSameParallelGatewaySenderIdAcrossColocatedPartitionedRegion3()
throws Exception
Exceptionpublic void testSameParallelGatewaySenderIdAcrossColocatedPartitionedRegion4()
throws Exception
Exceptionpublic void testSerialGatewaySenderAndParallelGatewaySenderWithSameName()
public void testSameRemoteDSAcrossSameSender()
public void testSerialSenderOnBothCache()
public void testParallelSenderOnBothCache()
public void testBatchConflation()
public void testisPersistentEnabled()
public void testAlertThreshold()
public void testManualStart()
public void testGatewayEventFilters()
public void testGatewayEventFilters2()
public void testGatewayTransportFilters()
public void testGatewayTransportFiltersOrder()
public void testIsDiskSynchronous()
public void test_GetCacheServersDoesNotReturnReceivers()
public void test_GetCacheServersDoesNotReturnReceivers_Scenario2()
public void _testDispatcherThreadsForParallelGatewaySender()
public void testOrderPolicyForParallelGatewaySender()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.