public class RegisterInterestBeforeRegionCreationDUnitTest extends DistributedTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
protected static com.gemstone.gemfire.cache.Cache |
cache
Server2 VM
|
static int |
PORT1
Server1 port
|
static int |
PORT2
Server2 port
|
logPerTest, reconnect, system, testName| Constructor and Description |
|---|
RegisterInterestBeforeRegionCreationDUnitTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
static void |
closeCache() |
static void |
createClient(String host,
Integer port1) |
static Integer |
createServer(Boolean createRegion) |
void |
setUp()
get the hosts
|
void |
tearDown2()
close the cache on all the vms
|
void |
testDummyAsThereIsNoOtherTestInThisClass() |
void |
YOGESH_testRegisterInterestHappeningBeforeRegionCreation()
- Creates the client-server configuration (which also registers interest)
- put on server1
- verify puts received on client1
- create region on server2
- verify puts received on server2 via GII
- verify puts received on client2 via server2
|
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 static int PORT1
public static int PORT2
protected static com.gemstone.gemfire.cache.Cache cache
public RegisterInterestBeforeRegionCreationDUnitTest(String name)
public void setUp()
throws Exception
setUp in class DistributedTestCaseExceptionpublic void tearDown2()
throws Exception
tearDown2 in class DistributedTestCaseExceptionpublic void YOGESH_testRegisterInterestHappeningBeforeRegionCreation()
throws Exception
Exceptionpublic void testDummyAsThereIsNoOtherTestInThisClass()
public static Integer createServer(Boolean createRegion) throws Exception
Exceptionpublic static void createClient(String host, Integer port1) throws Exception
Exceptionpublic static void closeCache()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.