This is an automated email from the ASF dual-hosted git repository.

vjasani pushed a commit to branch branch-2.4
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2.4 by this push:
     new e4dc6ea  HBASE-25790 Test fix Addendum
e4dc6ea is described below

commit e4dc6eaa760223ad45ebadbf894fe7be5bdb5e91
Author: Viraj Jasani <[email protected]>
AuthorDate: Sun May 9 00:39:31 2021 +0530

    HBASE-25790 Test fix Addendum
---
 .../org/apache/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 200efc1..b4ac577 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

Reply via email to