From 1df5e40f738d47df322ead6132fdc17b55d4500c Mon Sep 17 00:00:00 2001 From: Duo Zhang Date: Thu, 4 May 2023 23:03:06 +0800 Subject: [PATCH] HBASE-27823 Addendum fix compile error --- .../hadoop/hbase/master/assignment/MockMasterServices.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/master/assignment/MockMasterServices.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/master/assignment/MockMasterServices.java index 91fc75510e9..538476be306 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/master/assignment/MockMasterServices.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/master/assignment/MockMasterServices.java @@ -151,7 +151,7 @@ public class MockMasterServices extends MockNoopMasterServices { // ClusterConnection return the HRI. Have the HRI return a few mocked up responses // to make our test work. this.connection = HConnectionTestingUtility.getMockedConnectionAndDecorate(getConfiguration(), - Mockito.mock(AdminProtos.AdminService.BlockingInterface.class), ri, MOCK_MASTER_SERVERNAME, + mock(AdminProtos.AdminService.BlockingInterface.class), ri, MOCK_MASTER_SERVERNAME, RegionInfoBuilder.FIRST_META_REGIONINFO); // Set hbase.rootdir into test dir. Path rootdir = CommonFSUtils.getRootDir(getConfiguration());