public class LocatorLoadBalancingDUnitTest extends LocatorTestBase
LocatorTestBase.MyLocatorCallbackDistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
protected static long |
MAX_WAIT |
CACHE_KEY, CALLBACK_KEY, LOCATOR_KEY, POOL_NAME, REGION_NAME, remoteObjectslogPerTest, reconnect, system, testName| Constructor and Description |
|---|
LocatorLoadBalancingDUnitTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkLocatorLoad(VM vm,
Map expected) |
void |
testBalancing()
Test to make sure that the locator
balancing load between two servers.
|
void |
testCustomLoadProbe() |
void |
testDiscovery()
Test the locator discovers a bridge server and is initialized with
the correct load for that bridge server.
|
void |
testEstimation()
Test that the locator will properly estimate the load for servers when
it receives connection requests.
|
void |
testIntersectingServerGroups()
Test that the locator balances load between
three servers with intersecting server groups.
|
void |
testLoadMessaging()
Test to make sure the bridge servers communicate
their updated load to the controller when the load
on the bridge server changes.
|
addBridgeServerInVM, getLocatorString, getLocatorString, startBridgeClientInVM, startBridgeClientInVM, startBridgeClientInVM, startBridgeServerInVM, startBridgeServerInVM, startBridgeServerInVM, startBridgeServerWithEmbeddedLocator, startLocatorInVM, stopBridgeMemberVM, stopLocatorInVM, tearDown2addExpectedException, 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 long MAX_WAIT
public LocatorLoadBalancingDUnitTest(String name)
public void testDiscovery()
public void testEstimation()
throws UnknownHostException,
IOException,
ClassNotFoundException
public void testLoadMessaging()
public void testBalancing()
public void testIntersectingServerGroups()
public void testCustomLoadProbe()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.