public class CQListGIIDUnitTest extends DistributedTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
protected static com.gemstone.gemfire.cache.Cache |
cache |
protected static VM |
clientVM1 |
protected static VM |
clientVM2 |
String[] |
cqs |
static String |
KEY |
static String[] |
regions |
protected static VM |
serverVM0 |
logPerTest, reconnect, system, testName| Constructor and Description |
|---|
CQListGIIDUnitTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
_testSpecificClientCQIsGIIedPart1() |
static void |
closeCache() |
static void |
createClientCache(Integer port1,
Integer port2,
Integer port3,
String rLevel) |
static void |
createClientCache(Integer port1,
Integer port2,
Integer port3,
String rLevel,
Boolean addListener) |
static void |
createClientCache(Integer port1,
Integer port2,
String rLevel) |
static void |
createClientCache(Integer port1,
Integer port2,
String rLevel,
Boolean addListener) |
static void |
createCQ(String cqName,
String queryStr) |
static Integer |
createOneMoreBridgeServer(Boolean notifyBySubscription) |
static com.gemstone.gemfire.cache.Region |
createRegion(String name,
String rootName,
com.gemstone.gemfire.cache.RegionAttributes attrs) |
static Integer |
createServerCache() |
static Integer |
createServerCache(String ePolicy) |
static Integer |
createServerCache(String ePolicy,
Integer cap) |
static void |
executeCQ(String cqName,
Boolean initialResults) |
static void |
putEntries(String rName,
Integer num) |
static void |
registerInterestList() |
static void |
registerInterestListAll() |
static void |
registerInterestListCQ(String regionName,
int keySize) |
void |
setUp()
Sets up the test.
|
static void |
startServer() |
static void |
stopServer() |
void |
tearDown2()
Tears down the test.
|
void |
testClientCQNotLostAtGIIReceiver()
This test asserts that cq list of a client for an event is not lost if that
client's queue has been GII'ed to a server where that event already
existed.
|
static void |
VerifyCUMCQList(Integer numOfKeys,
Integer numOfClients) |
static void |
waitForCreated(String cqName,
String key) |
static void |
waitForEvent(int event,
String cqName,
String key) |
static void |
waitTillMessagesAreDispatched(Integer port,
Long waitLimit) |
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, toStringprotected static com.gemstone.gemfire.cache.Cache cache
protected static VM serverVM0
protected static VM clientVM1
protected static VM clientVM2
public static final String[] regions
public static final String KEY
public String[] cqs
public CQListGIIDUnitTest(String name)
name - name of the testpublic void setUp()
throws Exception
setUp in class DistributedTestCaseExceptionpublic void tearDown2()
throws Exception
tearDown2 in class DistributedTestCaseExceptionpublic static Integer createServerCache(String ePolicy) throws Exception
Exceptionpublic static Integer createServerCache(String ePolicy, Integer cap) throws Exception
Exceptionpublic static Integer createOneMoreBridgeServer(Boolean notifyBySubscription) throws Exception
Exceptionpublic static final com.gemstone.gemfire.cache.Region createRegion(String name, String rootName, com.gemstone.gemfire.cache.RegionAttributes attrs) throws com.gemstone.gemfire.cache.CacheException
com.gemstone.gemfire.cache.CacheExceptionpublic static void createClientCache(Integer port1, Integer port2, String rLevel) throws Exception
Exceptionpublic static void createClientCache(Integer port1, Integer port2, String rLevel, Boolean addListener) throws Exception
Exceptionpublic static void createClientCache(Integer port1, Integer port2, Integer port3, String rLevel) throws Exception
Exceptionpublic static void createClientCache(Integer port1, Integer port2, Integer port3, String rLevel, Boolean addListener) throws Exception
Exceptionpublic static void registerInterestListCQ(String regionName, int keySize)
public static void registerInterestListAll()
public static void registerInterestList()
public void _testSpecificClientCQIsGIIedPart1()
throws Exception
Exceptionpublic void testClientCQNotLostAtGIIReceiver()
throws Exception
Exceptionpublic static void stopServer()
public static void startServer()
public static void waitTillMessagesAreDispatched(Integer port, Long waitLimit)
public static void closeCache()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.