public class TestBaseLoadBalancer extends BalancerTestBase
| Modifier and Type | Class and Description |
|---|---|
static class |
TestBaseLoadBalancer.MockBalancer |
BalancerTestBase.MockMappingconf, rand| Constructor and Description |
|---|
TestBaseLoadBalancer() |
| Modifier and Type | Method and Description |
|---|---|
static void |
beforeAllTests() |
void |
testBulkAssignment()
Tests the bulk assignment used during cluster startup.
|
void |
testClusterRegionLocations() |
void |
testClusterServersWithSameHostPort() |
void |
testImmediateAssignment()
Tests immediate assignment.
|
void |
testRegionAvailability() |
void |
testRegionAvailabilityWithRegionMoves() |
void |
testRetainAssignment()
Test the cluster startup bulk assignment which attempts to retain
assignment info.
|
assertClusterAsBalanced, assertRegionReplicaPlacement, convertToList, createServerMap, mockCluster, mockClusterServers, mockClusterServers, printMock, printStats, randomRegions, randomRegions, randomServer, randomServers, reconcile, returnRegions, returnServer, returnServers, testWithCluster, testWithCluster, updateLoadpublic void testImmediateAssignment()
throws Exception
Exceptionpublic void testBulkAssignment()
throws Exception
Exceptionpublic void testRetainAssignment()
throws Exception
Exceptionpublic void testRegionAvailabilityWithRegionMoves()
throws Exception
Exceptionpublic void testClusterServersWithSameHostPort()
public void testClusterRegionLocations()