public class PRTransactionDUnitTest extends PRColocationDUnitTest
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
static int |
VERIFY_DESTROY |
static int |
VERIFY_INVALIDATE |
static int |
VERIFY_LISTENER_CALLBACK |
static int |
VERIFY_NON_COLOCATION |
static int |
VERIFY_REP_READ |
static int |
VERIFY_ROLLBACK |
static int |
VERIFY_TX |
static int |
VERIFY_TXSTATE_CONFLICT |
cache, defaultStringSize, totalNumBucketsInTestlogPerTest, reconnect, system, testName| Constructor and Description |
|---|
PRTransactionDUnitTest(String name) |
Bug47502_testColocatedPRWithClose, closeRegion, createCacheInVm, createPartitionedRegion, createPR, createPR, createSubPR, destroyPR, executeFunction, getDefaultAddOnString, putCustomerPartitionedRegion, putData_KeyBasedPartitionResolver, putInPartitionedRegion, putOrderPartitionedRegion, putOrderPartitionedRegion2, putShipmentPartitionedRegion, setUp, testColocatedPartitionedRegion_NoFullPath, testColocatedPRRedundancyRecovery2, testColocatedSubPartitionedRegion_NoFullPath, testColocatedSubPartitionedRegion, testColocationPartitionedRegionWithKeyPartitionResolver, testDestroyColocatedPartitionedRegion, testRedundancyRestriction, testSimulaneousChildRegionCreation, validateAfterPutPartitionedRegion, validateBeforePutCustomerPartitionedRegion, validateColocatedRegions, validateDataStore, validateDataStoreForRedundancyaddExceptionTag1, 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 final int VERIFY_TX
public static final int VERIFY_ROLLBACK
public static final int VERIFY_NON_COLOCATION
public static final int VERIFY_DESTROY
public static final int VERIFY_LISTENER_CALLBACK
public static final int VERIFY_INVALIDATE
public static final int VERIFY_TXSTATE_CONFLICT
public static final int VERIFY_REP_READ
public PRTransactionDUnitTest(String name)
public void testBasicPRTransactionRedundancy0()
public void testBasicPRTransactionRedundancy1()
public void testBasicPRTransactionRedundancy2()
public void testBasicPRTransactionNoDataRedundancy0()
public void testBasicPRTransactionNoDataRedundancy1()
public void testBasicPRTransactionNoDataRedundancy2()
protected void basicPRTXInFunction(int redundantBuckets,
boolean populateData)
MyTransactionFunction and tells it what to
test, using different arguments.redundantBuckets - redundant buckets for colocated PRspopulateData - if false tests are carried out on empty colocated PRsprotected void createColocatedPRs(int redundantBuckets)
protected void createCacheInAllVms()
createCacheInAllVms in class PRColocationDUnitTestprotected void populateAndVerifyColocatedPRs(int redundantBuckets)
protected void createPopulateAndVerifyCoLocatedPRs(int redundantBuckets)
protected boolean getEnableConcurrency()
public void testPRTXInCacheListenerRedundancy0()
public void testPRTXInCacheListenerRedundancy1()
public void testPRTXInCacheListenerRedundancy2()
protected void basicPRTXInCacheListener(int bucketRedundancy)
bucketRedundancy - redundancy for the colocated PRspublic static void validatePRTXInCacheListener()
throws ClassNotFoundException
ClassNotFoundExceptionpublic void BUG46661DISABLEtestCacheListenerCallbacks()
public void DISABLED_TILL_NEW_TX_IMPL_COMPLETE_testRepeatableRead()
throws Exception
Exceptionpublic void testColocatedPartitionedRegion()
throws Throwable
testColocatedPartitionedRegion in class PRColocationDUnitTestThrowablepublic void testColocationPartitionedRegion()
throws Throwable
testColocationPartitionedRegion in class PRColocationDUnitTestThrowablepublic void testColocationPartitionedRegionWithRedundancy()
throws Throwable
testColocationPartitionedRegionWithRedundancy in class PRColocationDUnitTestThrowablepublic void testPartitionResolverPartitionedRegion()
throws Throwable
testPartitionResolverPartitionedRegion in class PRColocationDUnitTestThrowablepublic void testColocationPartitionedRegionWithNullColocationSpecifiedOnOneNode()
PRColocationDUnitTestpublic void testColocatedPRRedundancyRecovery()
throws Throwable
PRColocationDUnitTesttestColocatedPRRedundancyRecovery in class PRColocationDUnitTestThrowablepublic void testColocatedPRWithAccessorOnDifferentNode1()
throws Throwable
testColocatedPRWithAccessorOnDifferentNode1 in class PRColocationDUnitTestThrowablepublic void testColocatedPRWithAccessorOnDifferentNode2()
throws Throwable
testColocatedPRWithAccessorOnDifferentNode2 in class PRColocationDUnitTestThrowablepublic void testColocatedPRWithDestroy()
throws Throwable
testColocatedPRWithDestroy in class PRColocationDUnitTestThrowablepublic void testColocatedPRWithLocalDestroy()
throws Throwable
testColocatedPRWithLocalDestroy in class PRColocationDUnitTestThrowablepublic void testColocatedPRWithPROnDifferentNode1()
throws Throwable
testColocatedPRWithPROnDifferentNode1 in class PRColocationDUnitTestThrowablepublic void tearDown2()
throws Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class PRColocationDUnitTestExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.