public class TestDefaultLoadBalancer extends BalancerTestBase
BalancerTestBase.MockMappingconf, rand| Constructor and Description |
|---|
TestDefaultLoadBalancer() |
| Modifier and Type | Method and Description |
|---|---|
static void |
beforeAllTests() |
void |
testBalanceCluster()
Test the load balancing algorithm.
|
assertClusterAsBalanced, assertRegionReplicaPlacement, convertToList, createServerMap, mockCluster, mockClusterServers, mockClusterServers, printMock, printStats, randomRegions, randomRegions, randomServer, randomServers, reconcile, returnRegions, returnServer, returnServers, testWithCluster, testWithCluster, updateLoadpublic static void beforeAllTests()
throws java.lang.Exception
java.lang.Exceptionpublic void testBalanceCluster()
throws java.lang.Exception
java.lang.Exception