public class AsyncEventListenerDUnitTest 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 |
|---|
AsyncEventListenerDUnitTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
DISABLED_testReplicatedSerialAsyncEventQueueWithoutLocator()
Test configuration::
Region: Replicated WAN: Serial Region persistence enabled: false Async
event queue persistence enabled: false
Note: The test doesn't create a locator but uses MCAST port instead.
|
void |
setUp()
Sets up the test (noop).
|
void |
testCreateAsyncEventQueueWithNullListener()
Test to verify that AsyncEventQueue can not be created when null listener
is passed.
|
void |
testParallelAsyncEventQueue() |
void |
testParallelAsyncEventQueueAttachedToChildRegionButNotToParentRegion()
Added for defect #50364 Can't colocate region that has AEQ with a region that does not have that same AEQ
|
void |
testParallelAsyncEventQueueHA_Scenario1()
Test case to test possibleDuplicates.
|
void |
testParallelAsyncEventQueueHA_Scenario2()
Test case to test possibleDuplicates.
|
void |
testParallelAsyncEventQueueHA_Scenario3()
Test case to test possibleDuplicates.
|
void |
testParallelAsyncEventQueueSize() |
void |
testParallelAsyncEventQueueWithConflationEnabled_bug47213()
Added to reproduce defect #47213
|
void |
testParallelAsyncEventQueueWithConflationEnabled() |
void |
testParallelAsyncEventQueueWithOneAccessor() |
void |
testParallelAsyncEventQueueWithPersistence() |
void |
testPartitionedSerialAsyncEventQueue()
Test configuration::
Region: Partitioned WAN: Serial Region persistence enabled: false Async
channel persistence enabled: false
|
void |
testPartitionedSerialAsyncEventQueueWithConflationEnabled()
Test configuration::
Region: Partitioned WAN: Serial Region persistence enabled: false Async
channel persistence enabled: false AsyncEventQueue conflation enabled: true
|
void |
testPartitionedSerialAsyncEventQueueWithPeristenceEnabled_Restart()
Test configuration::
Region: Partitioned WAN: Serial Region persistence enabled: false Async
channel persistence enabled: true
There is only one vm in the site and that vm is restarted
|
void |
testPartitionedSerialAsyncEventQueueWithPeristenceEnabled()
Test configuration::
Region: Partitioned WAN: Serial Region persistence enabled: false Async
channel persistence enabled: true
No VM is restarted.
|
void |
testReplicatedParallelAsyncEventQueue() |
void |
testReplicatedSerialAsyncEventQueue_ExceptionScenario()
Test configuration::
Region: Replicated
WAN: Serial
Region persistence enabled: false
Async queue persistence enabled: false
Error is thrown from AsyncEventListener implementation while processing the batch.
|
void |
testReplicatedSerialAsyncEventQueue()
Test configuration::
Region: Replicated WAN: Serial Region persistence enabled: false Async
channel persistence enabled: false
|
void |
testReplicatedSerialAsyncEventQueueWith2WANSites()
Test configuration::
Region: Replicated WAN: Serial Number of WAN sites: 2 Region persistence
enabled: false Async channel persistence enabled: false
|
void |
testReplicatedSerialAsyncEventQueueWithConflationEnabled()
Test configuration::
Region: Replicated WAN: Serial Region persistence enabled: false Async
channel persistence enabled: false AsyncEventQueue conflation enabled: true
|
void |
testReplicatedSerialAsyncEventQueueWithMultipleDispatcherThreads_2()
Test configuration::
Region: Partitioned WAN: Serial Region persistence enabled: false Async
channel persistence enabled: false
|
void |
testReplicatedSerialAsyncEventQueueWithMultipleDispatcherThreads()
Test configuration::
Region: Replicated
WAN: Serial
Dispatcher threads: more than 1
Order policy: key based ordering
|
void |
testReplicatedSerialAsyncEventQueueWithPeristenceEnabled_Restart()
Test configuration::
Region: Replicated WAN: Serial Region persistence enabled: false Async
channel persistence enabled: true
There is only one vm in the site and that vm is restarted
|
void |
testReplicatedSerialAsyncEventQueueWithPeristenceEnabled_Restart2()
Test configuration::
Region: Replicated WAN: Serial Region persistence enabled: false Async
channel persistence enabled: true
There are 3 VMs in the site and the VM with primary sender is shut down.
|
void |
testReplicatedSerialAsyncEventQueueWithPeristenceEnabled()
Test configuration::
Region: Replicated WAN: Serial Region persistence enabled: false Async
channel persistence enabled: true
No VM is restarted.
|
void |
testSerialAsyncEventQueueAttributes() |
void |
testSerialAsyncEventQueueSize() |
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 AsyncEventListenerDUnitTest(String name)
public void setUp()
throws Exception
DistributedTestCasesetUp in class WANTestBaseExceptionpublic void testCreateAsyncEventQueueWithNullListener()
public void testSerialAsyncEventQueueAttributes()
public void testSerialAsyncEventQueueSize()
public void testReplicatedSerialAsyncEventQueue()
public void testReplicatedSerialAsyncEventQueue_ExceptionScenario()
public void testReplicatedSerialAsyncEventQueueWithConflationEnabled()
public void testReplicatedSerialAsyncEventQueueWith2WANSites()
public void DISABLED_testReplicatedSerialAsyncEventQueueWithoutLocator()
public void testReplicatedSerialAsyncEventQueueWithPeristenceEnabled()
public void testReplicatedSerialAsyncEventQueueWithPeristenceEnabled_Restart()
public void testReplicatedSerialAsyncEventQueueWithPeristenceEnabled_Restart2()
public void testReplicatedSerialAsyncEventQueueWithMultipleDispatcherThreads()
public void testReplicatedSerialAsyncEventQueueWithMultipleDispatcherThreads_2()
public void testPartitionedSerialAsyncEventQueue()
public void testPartitionedSerialAsyncEventQueueWithConflationEnabled()
public void testPartitionedSerialAsyncEventQueueWithPeristenceEnabled()
public void testPartitionedSerialAsyncEventQueueWithPeristenceEnabled_Restart()
public void testParallelAsyncEventQueue()
public void testParallelAsyncEventQueueSize()
public void testParallelAsyncEventQueueWithConflationEnabled()
public void testParallelAsyncEventQueueWithConflationEnabled_bug47213()
public void testParallelAsyncEventQueueWithOneAccessor()
public void testParallelAsyncEventQueueWithPersistence()
public void testReplicatedParallelAsyncEventQueue()
public void testParallelAsyncEventQueueHA_Scenario1()
public void testParallelAsyncEventQueueHA_Scenario2()
public void testParallelAsyncEventQueueHA_Scenario3()
public void testParallelAsyncEventQueueAttachedToChildRegionButNotToParentRegion()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.