File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
hbase-server/src/test/java/org/apache/hadoop/hbase/master/http Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1818package org .apache .hadoop .hbase .master .http ;
1919
2020import static org .junit .Assert .assertEquals ;
21+ import static org .junit .Assert .assertFalse ;
2122import static org .junit .Assert .assertNotNull ;
2223import static org .junit .Assert .assertNull ;
2324
@@ -203,7 +204,7 @@ public void testGetFragmentationInfoTurnedOn() throws IOException {
203204 conf .setBoolean ("hbase.master.ui.fragmentation.enabled" , true );
204205 Map <String , Integer > fragmentationInfo = MasterStatusUtil .getFragmentationInfo (master , conf );
205206 assertNotNull (fragmentationInfo );
206- assertEquals ( 1 , fragmentationInfo .size ());
207+ assertFalse ( fragmentationInfo .isEmpty ());
207208 }
208209
209210 @ Test
You can’t perform that action at this time.
0 commit comments