public class TestBaseLoadBalancer extends BalancerTestBase
Modifier and Type | Class and Description |
---|---|
static class |
TestBaseLoadBalancer.MockBalancer |
BalancerTestBase.MockMapping
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, mockCluster, mockClusterServers, mockClusterServers, printMock, printStats, randomRegions, randomRegions, randomServer, randomServers, reconcile, returnRegions, returnServer, returnServers, updateLoad
public void testImmediateAssignment() throws Exception
Exception
public void testBulkAssignment() throws Exception
Exception
public void testRetainAssignment() throws Exception
Exception
public void testRegionAvailabilityWithRegionMoves() throws Exception
Exception
public void testClusterServersWithSameHostPort()
public void testClusterRegionLocations()