public class QueryDataInconsistencyDUnitTest extends CacheTestCase
| Modifier and Type | Class and Description |
|---|---|
class |
QueryDataInconsistencyDUnitTest.IndexManagerTestHook |
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
static boolean |
hooked |
static int |
numOfBuckets |
static String[] |
queries |
static String[] |
queriesForRR |
logPerTest, reconnect, system, testName| Constructor and Description |
|---|
QueryDataInconsistencyDUnitTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
static void |
createCacheClientWithoutRegion(String host,
Integer port1) |
static void |
createNewPR() |
void |
createPR() |
static void |
createProxyRegions() |
CacheSerializableRunnable |
getCacheSerializableRunnableForPRPuts(String regionName,
Object[] portfolio,
int from,
int to)
This function puts portfolio objects into the created Region (PR or Local)
*
|
static void |
main(String[] args) |
void |
setUp()
Sets up the test (noop).
|
static junit.framework.Test |
suite() |
void |
tearDown2()
Tears down the test.
|
void |
testCompactRangeIndex() |
void |
testRangeIndex() |
void |
testRangeIndexWithIndexAndQueryFromCluaseMisMatch() |
void |
testRangeIndexWithIndexAndQueryFromCluaseMisMatch2() |
addExceptionTag1, basicGetCache, beginCacheXml, cleanDiskDirs, closeAllCache, closeCache, createLonerCache, createMcastCache, createMcastCache, createRegion, createRegion, createRootRegion, createRootRegion, disconnectFromDS, finishCacheXml, finishCacheXml, getCache, getCache, getCache, getCache, getClientCache, getDiskDirs, getGemfireCache, getInternalRegionArguments, getRootRegion, getRootRegion, hasCache, remoteTearDown, removeExceptionTag1, sendSerialMessageToAll, sendUnorderedMessageToAlladdExpectedException, addExpectedException, addHydraProperties, attachDebugger, checkBBFlag, cleanupAllVms, clearBBFlag, crashDistributedSystem, crashDistributedSystem, createLogWriter, disconnectAllFromDS, 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 static int numOfBuckets
public static String[] queries
public static String[] queriesForRR
public static volatile boolean hooked
public QueryDataInconsistencyDUnitTest(String name)
name - public static void main(String[] args)
public static junit.framework.Test suite()
public void tearDown2()
throws Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class CacheTestCaseExceptionpublic void setUp()
throws Exception
DistributedTestCasesetUp in class DistributedTestCaseExceptionpublic void testCompactRangeIndex()
public void testRangeIndex()
public void testRangeIndexWithIndexAndQueryFromCluaseMisMatch()
public void testRangeIndexWithIndexAndQueryFromCluaseMisMatch2()
public static void createProxyRegions()
public static void createNewPR()
public void createPR()
public static void createCacheClientWithoutRegion(String host, Integer port1)
public CacheSerializableRunnable getCacheSerializableRunnableForPRPuts(String regionName, Object[] portfolio, int from, int to)
regionName - portfolio - to - from - Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.