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 static void beforeAllTests()
throws java.lang.Exception
java.lang.Exceptionpublic void testImmediateAssignment()
throws java.lang.Exception
java.lang.Exceptionpublic void testBulkAssignment()
throws java.lang.Exception
java.lang.Exceptionpublic void testRetainAssignment()
throws java.lang.Exception
java.lang.Exceptionpublic void testRegionAvailability()
throws java.lang.Exception
java.lang.Exceptionpublic void testRegionAvailabilityWithRegionMoves()
throws java.lang.Exception
java.lang.Exceptionpublic void testClusterServersWithSameHostPort()
public void testClusterRegionLocations()