public class PartitionedRegionSingleHopDUnitTest extends CacheTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2logPerTest, reconnect, system, testName| Constructor and Description |
|---|
PartitionedRegionSingleHopDUnitTest(String name) |
addExceptionTag1, basicGetCache, beginCacheXml, cleanDiskDirs, closeAllCache, 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 PartitionedRegionSingleHopDUnitTest(String name)
public void setUp()
throws Exception
DistributedTestCasesetUp in class DistributedTestCaseExceptionpublic void tearDown2()
throws Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class CacheTestCaseExceptionpublic static void closeCache()
public static void stopServer()
public static void startLocatorInVM(int locatorPort)
public static void stopLocator()
public static int createServerWithLocator(String locString, int redundantCopies, int totalNoofBuckets)
public static void clearMetadata()
public void test_NoClient()
public void test_ClientConnectedToAccessors()
public void test_ClientConnectedTo1Server()
public void test_MetadataContents()
public void DISABLED_49657_test_MetadataServiceCallAccuracy()
public void test_MetadataServiceCallAccuracy_FromDestroyOp()
public void test_MetadataServiceCallAccuracy_FromGetOp()
public void test_SingleHopWithHA()
public void test_SingleHopWithHAWithLocator()
public void test_NoMetadataServiceCall_ForGetOp()
public void test_NoMetadataServiceCall()
public void test_NoMetadataServiceCall_ForDestroyOp()
public void testServerLocationRemovalThroughPing()
public void testMetadataFetchOnlyThroughFunctions()
public void testMetadataFetchOnlyThroughputAll()
public void DISABLED_BUG47950_testMetadataIsSameOnAllServersAndClients()
public void testMetadataIsSameOnAllServersAndClientsHA()
public void _testClientMetadataForPersistenetPrs()
throws Exception
Exceptionpublic static void verifyMetadata(Map<Integer,List<com.gemstone.gemfire.internal.cache.BucketServerLocation66>> clientMap)
public static void waitForLocalBucketsCreattion(int numBuckets)
public static void waitForBucketsCreattion()
public static void createClientWithoutPRSingleHopEnabled(int port0)
public static int createAccessorServer()
public static int createServer(int redundantCopies,
int totalNoofBuckets)
public static int createPersistentPrsAndServer(int redundantCopies,
int totalNoofBuckets)
public static int createPersistentPrsAndServerOnPort(int redundantCopies,
int totalNoofBuckets,
int port)
public static void createServerOnPort(int redundantCopies,
int totalNoofBuckets,
int port)
public static void startServerOnPort(int port)
public static void createPeer()
public static void createClient(int port0)
public static void createClient(int port0,
int port1)
public static void createClientWithLocator(String host, int port0)
public static void createClient(int port0,
int port1,
int port2,
int port3)
public static void putIntoPartitionedRegions()
public static void executeFunctions()
public static void putAll()
public static void put()
public static void getFromPartitionedRegions()
public static void putIntoSinglePR()
public static void getDataFromSinglePR()
public static void updateIntoSinglePR()
public static void verifyEmptyMetadata()
public static void verifyEmptyStaticData()
public static void verifyNonEmptyMetadata()
public static void printMetadata()
public static void printView()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.