public class UpdateVersionDUnitTest extends DistributedTestCase
| Modifier and Type | Class and Description |
|---|---|
protected static class |
UpdateVersionDUnitTest.MyLocatorCallback |
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
protected static com.gemstone.gemfire.cache.Cache |
cache |
protected static String |
regionName |
logPerTest, reconnect, system, testName| Constructor and Description |
|---|
UpdateVersionDUnitTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
static void |
createConcurrentSender(String dsName,
int remoteDsId,
boolean isParallel,
Integer maxMemory,
Integer batchSize,
boolean isConflation,
boolean isPersistent,
com.gemstone.gemfire.cache.wan.GatewayEventFilter filter,
boolean isManulaStart,
int concurrencyLevel) |
static Integer |
createFirstLocatorWithDSId(int dsId) |
static Integer |
createFirstRemoteLocator(int dsId,
int remoteLocPort) |
static void |
createPartitionedRegion(String regionName,
String senderIds,
Integer redundantCopies,
Integer totalNumBuckets) |
static int |
createReceiver(int locPort) |
static void |
createReplicatedRegion(String regionName,
String senderIds) |
static void |
createSender(String dsName,
int remoteDsId,
boolean isParallel,
Integer maxMemory,
Integer batchSize,
boolean isConflation,
boolean isPersistent,
com.gemstone.gemfire.cache.wan.GatewayEventFilter filter,
boolean isManualStart) |
static void |
startSender(String senderId) |
void |
tearDown2()
Tears down the test.
|
void |
testUpdateVersionAfterCreateWithConcurrentSerialSender() |
void |
testUpdateVersionAfterCreateWithParallelSender() |
void |
testUpdateVersionAfterCreateWithSerialSender() |
void |
testUpdateVersionAfterCreateWithSerialSenderOnDR() |
static void |
waitForSenderRunningState(String senderId) |
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, setUp, 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 final String regionName
protected static com.gemstone.gemfire.cache.Cache cache
public UpdateVersionDUnitTest(String name)
public void tearDown2()
throws Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class DistributedTestCaseExceptionpublic void testUpdateVersionAfterCreateWithSerialSender()
public void testUpdateVersionAfterCreateWithSerialSenderOnDR()
public void testUpdateVersionAfterCreateWithParallelSender()
public void testUpdateVersionAfterCreateWithConcurrentSerialSender()
public static void createSender(String dsName, int remoteDsId, boolean isParallel, Integer maxMemory, Integer batchSize, boolean isConflation, boolean isPersistent, com.gemstone.gemfire.cache.wan.GatewayEventFilter filter, boolean isManualStart)
public static void createPartitionedRegion(String regionName, String senderIds, Integer redundantCopies, Integer totalNumBuckets)
public static void createReplicatedRegion(String regionName, String senderIds)
public static void waitForSenderRunningState(String senderId)
public static Integer createFirstRemoteLocator(int dsId, int remoteLocPort)
public static void createConcurrentSender(String dsName, int remoteDsId, boolean isParallel, Integer maxMemory, Integer batchSize, boolean isConflation, boolean isPersistent, com.gemstone.gemfire.cache.wan.GatewayEventFilter filter, boolean isManulaStart, int concurrencyLevel)
public static int createReceiver(int locPort)
public static void startSender(String senderId)
public static Integer createFirstLocatorWithDSId(int dsId)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.