public class ReliableMessagingDUnitTest extends DistributedTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2logPerTest, reconnect, system, testName| Constructor and Description |
|---|
ReliableMessagingDUnitTest(java.lang.String name)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static void |
checkEmptyDispatchedMsgs() |
static void |
checkServerCount(int expectedDeadServers,
int expectedLiveServers) |
static void |
checkTidAndSeq() |
static void |
closeCache() |
static void |
createClientCache(int port1,
int port2) |
static void |
createEntries() |
static java.lang.Integer |
createServerCache() |
static void |
putOnServer() |
static void |
resetCallBack() |
static void |
setBridgeObserverForBeforeSendingClientAck() |
static void |
setCreationTimeTidAndSeq() |
static void |
setTidAndSeq(byte[] membershipId,
java.lang.Long threadId,
java.lang.Long sequenceId) |
void |
setUp()
Sets up the test (noop).
|
static void |
stopServer() |
void |
tearDown2()
Tears down the test.
|
void |
testPeriodicAckSendByClient() |
void |
testPeriodicAckSendByClientPrimaryFailover() |
static void |
waitForCallback()
Wait for magic callback
|
static void |
waitForClientAck()
Wait for acknowledgment from client, verify creation time is correct
|
static void |
waitForServerUpdate()
Wait for new value on bridge server to become visible in this cache
|
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, 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 ReliableMessagingDUnitTest(java.lang.String name)
public void testPeriodicAckSendByClient()
throws java.lang.Exception
java.lang.Exceptionpublic void testPeriodicAckSendByClientPrimaryFailover()
throws java.lang.Exception
java.lang.Exceptionpublic static void waitForClientAck()
throws java.lang.Exception
java.lang.Exceptionpublic static void setCreationTimeTidAndSeq()
public static void checkEmptyDispatchedMsgs()
public static void checkTidAndSeq()
public static void setTidAndSeq(byte[] membershipId,
java.lang.Long threadId,
java.lang.Long sequenceId)
public static void createEntries()
throws java.lang.Exception
java.lang.Exceptionpublic static void putOnServer()
throws java.lang.Exception
java.lang.Exceptionpublic static void checkServerCount(int expectedDeadServers,
int expectedLiveServers)
public static void stopServer()
public static void waitForServerUpdate()
public static void setBridgeObserverForBeforeSendingClientAck()
throws java.lang.Exception
java.lang.Exceptionpublic static void waitForCallback()
public void setUp()
throws java.lang.Exception
DistributedTestCasesetUp in class DistributedTestCasejava.lang.Exceptionpublic static java.lang.Integer createServerCache()
throws java.lang.Exception
java.lang.Exceptionpublic static void createClientCache(int port1,
int port2)
throws java.lang.Exception
java.lang.Exceptionpublic void tearDown2()
throws java.lang.Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class DistributedTestCasejava.lang.Exceptionpublic static void closeCache()
public static void resetCallBack()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.