public class LocalDistributionManagerTest extends DistributedTestCase
LocalDistributionManager.| Modifier and Type | Class and Description |
|---|---|
static class |
LocalDistributionManagerTest.FirstMessage
A message that is send, and when received, sets a
boolean static field. |
static class |
LocalDistributionManagerTest.OnlyGFDMReply
A message that only GemFire distribution managers reply to.
|
static class |
LocalDistributionManagerTest.Request
A request that is replied to with a
LocalDistributionManagerTest.Response |
static class |
LocalDistributionManagerTest.Response
A response to a
LocalDistributionManagerTest.Request |
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
protected static com.gemstone.gemfire.distributed.internal.LocalDistributionManagerTest.TestMembershipListener |
listener
A
TestMembershipListener used in this VM |
logPerTest, reconnect, system, testName| Constructor and Description |
|---|
LocalDistributionManagerTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createSystem(VM vm)
Creates a connection to the distributed system in the given
VM. |
void |
testCountDMs()
Do we see all of the distribution managers in the distributed
system?
|
void |
testMemberJoinedAndDeparted()
Does the
MembershipListener.memberJoined(com.gemstone.gemfire.distributed.internal.membership.InternalDistributedMember) method get
invoked? |
void |
testMembersDepartWhileWaiting()
Tests that the reply processor gets signaled when members go
away.
|
void |
testReplyProcessor()
Tests the new non-shared
ReplyProcessor21 |
void |
testSendMessage()
Test that messages that are sent are received in a reasonable
amount of time.
|
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, setUp, 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, toStringprotected static com.gemstone.gemfire.distributed.internal.LocalDistributionManagerTest.TestMembershipListener listener
TestMembershipListener used in this VMpublic LocalDistributionManagerTest(String name)
protected void createSystem(VM vm)
VM. Configures the connection for the VM.public void testCountDMs()
public void testSendMessage()
throws InterruptedException
InterruptedExceptionpublic void testReplyProcessor()
throws InterruptedException
ReplyProcessor21InterruptedExceptionpublic void testMemberJoinedAndDeparted()
throws InterruptedException
MembershipListener.memberJoined(com.gemstone.gemfire.distributed.internal.membership.InternalDistributedMember) method get
invoked?InterruptedExceptionpublic void testMembersDepartWhileWaiting()
throws InterruptedException
InterruptedExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.