HBASE-25790 Test fix Addendum
This commit is contained in:
parent
26e9c5b3ce
commit
e4dc6eaa76
|
@ -53,10 +53,11 @@ public class TestBalancerRejection extends BalancerTestBase {
|
||||||
public static final HBaseClassTestRule CLASS_RULE =
|
public static final HBaseClassTestRule CLASS_RULE =
|
||||||
HBaseClassTestRule.forClass(TestBalancerRejection.class);
|
HBaseClassTestRule.forClass(TestBalancerRejection.class);
|
||||||
|
|
||||||
static class MockCostFunction extends CostFunction{
|
static class MockCostFunction extends StochasticLoadBalancer.CostFunction {
|
||||||
public static double mockCost;
|
public static double mockCost;
|
||||||
|
|
||||||
public MockCostFunction(Configuration c) {
|
public MockCostFunction(Configuration c) {
|
||||||
|
super(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue