From e4dc6eaa760223ad45ebadbf894fe7be5bdb5e91 Mon Sep 17 00:00:00 2001 From: Viraj Jasani Date: Sun, 9 May 2021 00:39:31 +0530 Subject: [PATCH] HBASE-25790 Test fix Addendum --- .../hadoop/hbase/master/balancer/TestBalancerRejection.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/master/balancer/TestBalancerRejection.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/master/balancer/TestBalancerRejection.java index 200efc12ab6..b4ac5778341 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/master/balancer/TestBalancerRejection.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/master/balancer/TestBalancerRejection.java @@ -53,10 +53,11 @@ public class TestBalancerRejection extends BalancerTestBase { public static final HBaseClassTestRule CLASS_RULE = HBaseClassTestRule.forClass(TestBalancerRejection.class); - static class MockCostFunction extends CostFunction{ + static class MockCostFunction extends StochasticLoadBalancer.CostFunction { public static double mockCost; public MockCostFunction(Configuration c) { + super(c); } @Override