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(java.lang.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 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 void createPRWithCoLocation(java.lang.String prName,
java.lang.String coLocatedWith)
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 java.lang.ClassNotFoundException
java.lang.ClassNotFoundExceptionpublic void BUG46661DISABLEtestCacheListenerCallbacks()
public void DISABLED_TILL_NEW_TX_IMPL_COMPLETE_testRepeatableRead()
throws java.lang.Exception
java.lang.Exceptionpublic void testPRTXPerformance()
throws java.lang.Exception
java.lang.Exceptionpublic void testColocatedPartitionedRegion()
throws java.lang.Throwable
testColocatedPartitionedRegion in class PRColocationDUnitTestjava.lang.Throwablepublic void testColocationPartitionedRegion()
throws java.lang.Throwable
testColocationPartitionedRegion in class PRColocationDUnitTestjava.lang.Throwablepublic void testColocationPartitionedRegionWithRedundancy()
throws java.lang.Throwable
testColocationPartitionedRegionWithRedundancy in class PRColocationDUnitTestjava.lang.Throwablepublic void testPartitionResolverPartitionedRegion()
throws java.lang.Throwable
testPartitionResolverPartitionedRegion in class PRColocationDUnitTestjava.lang.Throwablepublic void testColocationPartitionedRegionWithNullColocationSpecifiedOnOneNode()
PRColocationDUnitTestpublic void testColocatedPRRedundancyRecovery()
throws java.lang.Throwable
PRColocationDUnitTesttestColocatedPRRedundancyRecovery in class PRColocationDUnitTestjava.lang.Throwablepublic void testColocatedPRWithAccessorOnDifferentNode1()
throws java.lang.Throwable
testColocatedPRWithAccessorOnDifferentNode1 in class PRColocationDUnitTestjava.lang.Throwablepublic void testColocatedPRWithAccessorOnDifferentNode2()
throws java.lang.Throwable
testColocatedPRWithAccessorOnDifferentNode2 in class PRColocationDUnitTestjava.lang.Throwablepublic void testColocatedPRWithDestroy()
throws java.lang.Throwable
testColocatedPRWithDestroy in class PRColocationDUnitTestjava.lang.Throwablepublic void testColocatedPRWithLocalDestroy()
throws java.lang.Throwable
testColocatedPRWithLocalDestroy in class PRColocationDUnitTestjava.lang.Throwablepublic void testColocatedPRWithPROnDifferentNode1()
throws java.lang.Throwable
testColocatedPRWithPROnDifferentNode1 in class PRColocationDUnitTestjava.lang.Throwablepublic void tearDown2()
throws java.lang.Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class PRColocationDUnitTestjava.lang.ExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.