Tan-JiaLiang commented on code in PR #32:
URL: 
https://github.com/apache/flink-connector-hbase/pull/32#discussion_r1395316627


##########
flink-connector-hbase-2.2/src/test/java/org/apache/flink/connector/hbase2/HBaseConnectorITCase.java:
##########


Review Comment:
   I think we should drop `public` which with annotation `@Test` to keep the 
test case style consistent, same in the following classes: 
   
   > org.apache.flink.connector.hbase1.HBaseConnectorITCase
   > org.apache.flink.connector.hbase2.HBaseConnectorITCase
   > org.apache.flink.connector.hbase1.HBaseDynamicTableFactoryTest
   > org.apache.flink.connector.hbase2.HBaseDynamicTableFactoryTest



##########
flink-connector-hbase-2.2/src/test/java/org/apache/flink/connector/hbase2/HBaseConnectorITCase.java:
##########
@@ -66,16 +66,13 @@
 import static org.apache.flink.table.api.Expressions.$;
 import static org.assertj.core.api.Assertions.assertThat;
 import static org.assertj.core.api.Assertions.assertThatThrownBy;
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertNull;
 
 /** IT cases for HBase connector (including source and sink). */
-public class HBaseConnectorITCase extends HBaseTestBase {
+class HBaseConnectorITCase extends HBaseTestBase {
 
-    @ClassRule
-    public static final MiniClusterWithClientResource MINI_CLUSTER =
-            new MiniClusterWithClientResource(
+    @RegisterExtension
+    private static final MiniClusterExtension MINI_CLUSTER_EXTENSION =

Review Comment:
   There is moving to `HBaseTestingClusterAutoStarter` already, maybe we can 
remove it.



-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to