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(java.lang.String name)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
static void |
closeCache() |
void |
createCache(java.util.Properties props) |
static void |
createClientCache(java.lang.String host,
java.lang.Integer port1,
java.lang.Integer port2) |
static void |
createEntries() |
static java.lang.Integer |
createServer1Cache() |
static void |
createServer2Cache(java.lang.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 void setUp()
throws java.lang.Exception
DistributedTestCasesetUp in class DistributedTestCasejava.lang.Exceptionpublic void testGIIRegionQueue()
public void createCache(java.util.Properties props)
throws java.lang.Exception
java.lang.Exceptionpublic static void createClientCache(java.lang.String host,
java.lang.Integer port1,
java.lang.Integer port2)
throws java.lang.Exception
java.lang.Exceptionpublic static java.lang.Integer createServer1Cache()
throws java.lang.Exception
java.lang.Exceptionpublic static void createServer2Cache(java.lang.Integer port)
throws java.lang.Exception
java.lang.Exceptionpublic static void registerInterestList()
public static void createEntries()
public static void stopServer()
public static void put()
public static void tombstonegc()
throws java.lang.Exception
java.lang.Exceptionpublic static void verifyEntries()
public static void verifyEntriesAfterGiiViaListener()
public static void verifyEntriesAfterGII()
public static void setSystemProperty()
public 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()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.