public class SlowRecDUnitTest extends CacheTestCase
| Modifier and Type | Class and Description |
|---|---|
protected static class |
SlowRecDUnitTest.ControlListener |
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2cachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
SlowRecDUnitTest(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
_disabled_testConflationSequence()
Make sure that only sequences of updates are conflated
Also checks that sending to a conflating region and non-conflating region
does the correct thing.
|
protected com.gemstone.gemfire.cache.Region |
createAckRegion(boolean mirror,
boolean conflate)
Create a region named AckRegion with ACK scope
|
void |
donottestMultipleRegionConflation()
Make sure a multiple no ack regions conflate properly.
|
void |
donottestPartialMessage()
Make sure a disconnect causes queue memory to be released.
|
void |
donottestTimeoutDisconnect()
Make sure that exceeding the async-queue-timeout causes a disconnect.
|
void |
setUp()
Sets up the test (noop).
|
void |
tearDown2()
Tears down the test.
|
void |
testAckConflation()
make sure ack does not hang
make sure two ack updates do not conflate but are both queued
|
void |
testDisconnectCleanup()
Make sure a disconnect causes queue memory to be released.
|
void |
testNoAck()
Make sure that noack puts to a receiver
will eventually queue and then catch up.
|
void |
testNoAckConflation()
Make sure that noack puts to a receiver
will eventually queue and then catch up with conflation
|
void |
testSizeDisconnect()
Make sure that exceeding the queue size limit causes a disconnect.
|
addExceptionTag1, basicGetCache, beginCacheXml, cleanDiskDirs, closeAllCache, closeCache, createLonerCache, createMcastCache, createMcastCache, createRegion, createRegion, createRootRegion, createRootRegion, disconnectFromDS, finishCacheXml, finishCacheXml, getCache, getCache, getCache, getCache, getClientCache, getDiskDirs, getGemfireCache, getInternalRegionArguments, getRootRegion, getRootRegion, hasCache, remoteTearDown, removeExceptionTag1, sendSerialMessageToAll, sendUnorderedMessageToAlladdExpectedException, addExpectedException, addHydraProperties, attachDebugger, checkBBFlag, cleanupAllVms, clearBBFlag, crashDistributedSystem, crashDistributedSystem, createLogWriter, disconnectAllFromDS, 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, toStringprotected static java.lang.Object lastCallback
protected static final java.lang.String CHECK_INVALID
protected static final int CALLBACK_CREATE
protected static final int CALLBACK_UPDATE
protected static final int CALLBACK_INVALIDATE
protected static final int CALLBACK_DESTROY
protected static final int CALLBACK_REGION_INVALIDATE
protected static final java.lang.Integer CALLBACK_CREATE_INTEGER
protected static final java.lang.Integer CALLBACK_UPDATE_INTEGER
protected static final java.lang.Integer CALLBACK_INVALIDATE_INTEGER
protected static final java.lang.Integer CALLBACK_DESTROY_INTEGER
protected static final java.lang.Integer CALLBACK_REGION_INVALIDATE_INTEGER
protected static SlowRecDUnitTest.ControlListener doTestMultipleRegionConflation_R1_Listener
protected static SlowRecDUnitTest.ControlListener doTestMultipleRegionConflation_R2_Listener
protected static SlowRecDUnitTest.ControlListener doTestDisconnectCleanup_Listener
protected static SlowRecDUnitTest.ControlListener doTestPartialMessage_Listener
public void setUp()
throws java.lang.Exception
DistributedTestCasesetUp in class DistributedTestCasejava.lang.Exceptionpublic void tearDown2()
throws java.lang.Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class CacheTestCasejava.lang.Exceptionpublic void testNoAck()
throws com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExceptionprotected com.gemstone.gemfire.cache.Region createAckRegion(boolean mirror,
boolean conflate)
throws com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExceptionpublic void testNoAckConflation()
throws com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExceptionpublic void testAckConflation()
throws com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExceptionpublic void _disabled_testConflationSequence()
throws com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExceptionpublic void testSizeDisconnect()
throws com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExceptionpublic void donottestTimeoutDisconnect()
throws com.gemstone.gemfire.cache.CacheException
[bruce] This test was disabled when the SlowRecDUnitTest was re-enabled in build.xml in the splitbrainNov07 branch. It had been disabled since June 2006 due to hangs. Some of the tests, like this one, still need work because the periodically (some quite often) fail.
com.gemstone.gemfire.cache.CacheExceptionpublic void donottestMultipleRegionConflation()
throws java.lang.Throwable
java.lang.Throwablepublic void testDisconnectCleanup()
throws java.lang.Throwable
java.lang.Throwablepublic void donottestPartialMessage()
throws java.lang.Throwable
[bruce] This test was disabled when the SlowRecDUnitTest was re-enabled in build.xml in the splitbrainNov07 branch. It had been disabled since June 2006 due to hangs. Some of the tests, like this one, still need work because the periodically (some quite often) fail.
java.lang.ThrowableCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.