public class UpdatePropagationDUnitTest extends DistributedTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
protected static com.gemstone.gemfire.cache.Cache |
cache |
logPerTest, reconnect, system, testName| Constructor and Description |
|---|
UpdatePropagationDUnitTest(String name)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
static void |
acquireConnectionsAndPutonK1andK2(String host) |
static void |
closeCache() |
protected com.gemstone.gemfire.cache.RegionAttributes |
createCacheServerAttributes() |
static void |
createClientCache(String host,
Integer port1,
Integer port2) |
static void |
createEntriesK1andK2()
Creates entries on the server
|
static void |
createImpl()
subclass support
|
static Integer |
createServerCache() |
static void |
killServer(Integer port) |
static void |
registerKeysK1andK2() |
void |
setUp()
Sets up the test (noop).
|
static void |
startServer(Integer port) |
void |
tearDown2()
Tears down the test.
|
void |
testVerifyUpdatesNotReceivedBySender()
This tests whether the updates are received by the sender or not if
there is an Interest List failover
|
void |
testVerifyUpdatesReceivedByOtherClients()
This tests whether the updates are received by other clients or not , if there are
situation of Interest List fail over
|
static void |
verifyNoUpdates() |
static void |
verifyUpdates() |
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 UpdatePropagationDUnitTest(String name)
public void setUp()
throws Exception
DistributedTestCasesetUp in class DistributedTestCaseExceptionpublic static void createImpl()
public void testVerifyUpdatesNotReceivedBySender()
public void testVerifyUpdatesReceivedByOtherClients()
public static void acquireConnectionsAndPutonK1andK2(String host)
public static void killServer(Integer port)
public static void startServer(Integer port)
public static void createEntriesK1andK2()
public static void createClientCache(String host, Integer port1, Integer port2) throws Exception
Exceptionprotected com.gemstone.gemfire.cache.RegionAttributes createCacheServerAttributes()
public static void registerKeysK1andK2()
key - Key in which client is interestedpublic static void verifyNoUpdates()
public static void verifyUpdates()
public static void closeCache()
public void tearDown2()
throws Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class DistributedTestCaseExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.