public class DistributionManagerTest extends DistributedTestCase
DistributionManager class.| Modifier and Type | Class and Description |
|---|---|
protected static class |
DistributionManagerTest.ItsOkayForMyClassNotToBeFound |
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
static com.gemstone.gemfire.distributed.DistributedSystem |
ds |
logPerTest, reconnect, system, testName| Constructor and Description |
|---|
DistributionManagerTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
_testGetDistributionManagerIds() |
static void |
clearExceptionInThreads(com.gemstone.gemfire.distributed.internal.DistributionManager dm)
Clears the exceptionInThread flag in the given distribution
manager.
|
void |
setUp()
Sets up the test (noop).
|
void |
testAckSevereAlertThreshold()
Tests that a severe-level alert is generated if a member does not respond
with an ack quickly enough.
|
void |
testBadBindAddress()
test use of a bad bind-address for bug #32565
|
void |
testConnectAfterBeingShunned()
Demonstrate that a new UDP port is used when an attempt is made to
reconnect using a shunned port
|
void |
testExceptionInThreads()
Send the distribution manager a message it can't deserialize
|
void |
testGetDistributionVMType() |
void |
testKickOutSickMember()
Tests that a sick member is kicked out
|
void |
testSurpriseMemberHandling()
Test the handling of "surprise members" in the membership manager.
|
void |
testVerifyMember()
Test the verifyMember interface of the membership manager
|
addExpectedException, 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, 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, tearDown2, 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 DistributionManagerTest(String name)
public static void clearExceptionInThreads(com.gemstone.gemfire.distributed.internal.DistributionManager dm)
public void setUp()
throws Exception
DistributedTestCasesetUp in class DistributedTestCaseExceptionpublic void testGetDistributionVMType()
public void testExceptionInThreads()
throws InterruptedException
InterruptedExceptionpublic void _testGetDistributionManagerIds()
public void testConnectAfterBeingShunned()
public void testSurpriseMemberHandling()
public void testVerifyMember()
public void testAckSevereAlertThreshold()
throws Exception
Exceptionpublic void testKickOutSickMember()
throws Exception
ExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.