public class BridgeWriterDUnitTest extends BridgeTestCase
BridgeTestCase.BridgeServerCacheLoaderDistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
protected static int |
bridgeServerPort |
AUTO_LOAD_BALANCE, BridgeServerKey, NON_EXISTENT_KEYcachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
BridgeWriterDUnitTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
_testRegisterInterestFailover()
Tests failover of register interest from client point of view.
|
void |
tearDown2()
Tears down the test.
|
void |
testBug35381()
Tests for Bug 35381 Calling register interest if
establishCallbackConnection is not set causes bridge server NPE.
|
caseSetUp, caseTearDown, configureConnectionPool, configureConnectionPool, configureConnectionPool, configureConnectionPool, configureConnectionPool, configureConnectionPool, configureConnectionPool, configureConnectionPoolWithName, configureConnectionPoolWithName, configureConnectionPoolWithNameAndFactory, configureConnectionPoolWithNameAndFactory, createBridgeClientConnection, createBridgeServer, createUniquePorts, getDistributedMember, getMaxThreads, getMemberId, getRegionAttributes, getSystemProperties, startBridgeServer, stopBridgeServersaddExceptionTag1, 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, setUp, 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 BridgeWriterDUnitTest(String name)
public void tearDown2()
throws Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class CacheTestCaseExceptionpublic void testBug35381()
throws Exception
Exceptionpublic void _testRegisterInterestFailover()
throws Exception
Bug 35654 "failed re-registration may never be detected and thus may never re-re-register"
Bug 35639 "registerInterest re-registration happens everytime a healthy server is detected"
Bug 35655 "a single failed re-registration causes all other pending re-registrations to be cancelled"
ExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.