public class ConcurrentIndexUpdateWithInplaceObjectModFalseDUnitTest extends DistributedTestCase
ConcurrentIndexUpdateWithoutWLDUnitTest except
that it sets system property gemfire.index.INPLACE_OBJECT_MODIFICATION to false
so no reverse map is used for CompactRangeIndex.
During validation all region operations are paused for a while. Validation
happens multiple time during one test run on a fixed time interval.| Modifier and Type | Class and Description |
|---|---|
class |
ConcurrentIndexUpdateWithInplaceObjectModFalseDUnitTest.IndexValidator
This validator will iterate over RegionEntries and verify their corresponding
index key and entry presence in index valuesToEntriesMap.
|
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2logPerTest, reconnect, system, testName| Constructor and Description |
|---|
ConcurrentIndexUpdateWithInplaceObjectModFalseDUnitTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
static void |
destroyRegions() |
void |
setUp()
Sets up the test (noop).
|
void |
tearDown2()
Tear down a PartitionedRegionTestCase by cleaning up the existing cache
(mainly because we want to destroy any existing PartitionedRegions)
|
void |
testCompactRangeIndex() |
void |
testCompactRangeIndexOnPR() |
void |
testRangeIndex() |
void |
testRangeIndexOnPR() |
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 ConcurrentIndexUpdateWithInplaceObjectModFalseDUnitTest(String name)
name - public void setUp()
throws Exception
DistributedTestCasesetUp in class DistributedTestCaseExceptionpublic void tearDown2()
throws Exception
tearDown2 in class DistributedTestCaseExceptionpublic static void destroyRegions()
public void testCompactRangeIndex()
public void testRangeIndex()
public void testCompactRangeIndexOnPR()
public void testRangeIndexOnPR()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.