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(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
static void |
closeCache() |
static void |
createClient(java.lang.String host,
java.lang.Integer port1) |
static java.lang.Integer |
createServer(java.lang.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(java.lang.String name)
public void setUp()
throws java.lang.Exception
setUp in class DistributedTestCasejava.lang.Exceptionpublic void tearDown2()
throws java.lang.Exception
tearDown2 in class DistributedTestCasejava.lang.Exceptionpublic void YOGESH_testRegisterInterestHappeningBeforeRegionCreation()
throws java.lang.Exception
java.lang.Exceptionpublic void testDummyAsThereIsNoOtherTestInThisClass()
public static java.lang.Integer createServer(java.lang.Boolean createRegion)
throws java.lang.Exception
java.lang.Exceptionpublic static void createClient(java.lang.String host,
java.lang.Integer port1)
throws java.lang.Exception
java.lang.Exceptionpublic static void closeCache()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.