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

paksyd pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/master by this push:
     new 8ef271f8373 [ADDENDUM] HBASE-29223 Fix TestMasterStatusUtil (#7416)
8ef271f8373 is described below

commit 8ef271f837397688c26e215f2eee6e80408eb799
Author: Dávid Paksy <[email protected]>
AuthorDate: Tue Nov 4 14:21:17 2025 +0100

    [ADDENDUM] HBASE-29223 Fix TestMasterStatusUtil (#7416)
    
    TestMasterStatusUtil.testGetFragmentationInfoTurnedOn failed in master 
nightly build
    
    Signed-off-by: Nihal Jain <[email protected]>
    Signed-off-by: Duo Zhang <[email protected]>
---
 .../java/org/apache/hadoop/hbase/master/http/TestMasterStatusUtil.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/master/http/TestMasterStatusUtil.java
 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/master/http/TestMasterStatusUtil.java
index 195d54c03b0..7e576acae7b 100644
--- 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/master/http/TestMasterStatusUtil.java
+++ 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/master/http/TestMasterStatusUtil.java
@@ -18,6 +18,7 @@
 package org.apache.hadoop.hbase.master.http;
 
 import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.assertNull;
 
@@ -203,7 +204,7 @@ public class TestMasterStatusUtil {
     conf.setBoolean("hbase.master.ui.fragmentation.enabled", true);
     Map<String, Integer> fragmentationInfo = 
MasterStatusUtil.getFragmentationInfo(master, conf);
     assertNotNull(fragmentationInfo);
-    assertEquals(1, fragmentationInfo.size());
+    assertFalse(fragmentationInfo.isEmpty());
   }
 
   @Test

Reply via email to