This is an automated email from the ASF dual-hosted git repository. zhangduo pushed a commit to branch branch-2 in repository https://gitbox.apache.org/repos/asf/hbase.git
commit 1df5e40f738d47df322ead6132fdc17b55d4500c Author: Duo Zhang <[email protected]> AuthorDate: Thu May 4 23:03:06 2023 +0800 HBASE-27823 Addendum fix compile error --- .../org/apache/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());
