liuxiaocs7 commented on code in PR #7947:
URL: https://github.com/apache/hbase/pull/7947#discussion_r2978752999


##########
hbase-server/src/test/java/org/apache/hadoop/hbase/filter/FilterTestingCluster.java:
##########
@@ -94,21 +89,20 @@ private static void initialize(Configuration conf) {
     try {
       admin = TEST_UTIL.getAdmin();
     } catch (MasterNotRunningException e) {
-      assertNull("Master is not running", e);
+      assertNull(e, "Master is not running");
     } catch (ZooKeeperConnectionException e) {
-      assertNull("Cannot connect to ZooKeeper", e);
+      assertNull(e, "Cannot connect to ZooKeeper");
     } catch (IOException e) {
-      assertNull("IOException", e);
+      assertNull(e, "IOException");
     }
   }
 
-  @BeforeClass

Review Comment:
   move to sub class, see `TestFilterWithScanLimits` and `TestScanRowPrefix`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to