public class TestBalancerDecision extends BalancerTestBase
BalancerTestBase.MockMapping
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
clusterStateMocks, conf, largeCluster, loadBalancer, regionId
Constructor and Description |
---|
TestBalancerDecision() |
Modifier and Type | Method and Description |
---|---|
private static boolean |
needsBalanceIdleRegion(int[] cluster) |
void |
testBalancerDecisions() |
assertClusterAsBalanced, assertClusterOverallAsBalanced, assertRegionReplicaPlacement, beforeAllTests, convertToList, createRegions, createServerMap, mockCluster, mockClusterServers, mockClusterServers, mockClusterServersWithTables, mockUniformClusterServers, printMock, printStats, randomRegions, randomRegions, randomServer, randomServers, reconcile, returnRegions, returnServer, returnServers, testWithCluster, testWithCluster, uniformRegions, updateLoad
public static final HBaseClassTestRule CLASS_RULE
public TestBalancerDecision()
public void testBalancerDecisions()
private static boolean needsBalanceIdleRegion(int[] cluster)
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.