public class HAGIIDUnitTest extends DistributedTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
protected static com.gemstone.gemfire.internal.cache.ha.GIIChecker |
checker |
logPerTest, reconnect, system, testName| Constructor and Description |
|---|
HAGIIDUnitTest(String name)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
static void |
closeCache() |
void |
createCache(Properties props) |
static void |
createClientCache(String host,
Integer port1,
Integer port2) |
static void |
createEntries() |
static Integer |
createServer1Cache() |
static void |
createServer2Cache(Integer port) |
static void |
put() |
static void |
registerInterestList() |
static void |
setSystemProperty() |
void |
setUp()
Sets up the test (noop).
|
static void |
stopServer() |
void |
tearDown2()
Tears down the test.
|
void |
testGIIRegionQueue() |
static void |
tombstonegc()
queue a tombstone GC message for the client.
|
static void |
verifyEntries() |
static void |
verifyEntriesAfterGII() |
static void |
verifyEntriesAfterGiiViaListener() |
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 HAGIIDUnitTest(String name)
public void setUp()
throws Exception
DistributedTestCasesetUp in class DistributedTestCaseExceptionpublic void testGIIRegionQueue()
public void createCache(Properties props) throws Exception
Exceptionpublic static void createClientCache(String host, Integer port1, Integer port2) throws Exception
Exceptionpublic static void createServer2Cache(Integer port) throws Exception
Exceptionpublic static void registerInterestList()
public static void createEntries()
public static void stopServer()
public static void put()
public static void tombstonegc()
throws Exception
Exceptionpublic static void verifyEntries()
public static void verifyEntriesAfterGiiViaListener()
public static void verifyEntriesAfterGII()
public static void setSystemProperty()
public void tearDown2()
throws Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class DistributedTestCaseExceptionpublic static void closeCache()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.