snuyanzin commented on code in PR #20991: URL: https://github.com/apache/flink/pull/20991#discussion_r1034907187
########## flink-connectors/flink-connector-kafka/src/test/java/org/apache/flink/connector/kafka/source/enumerator/subscriber/KafkaSubscriberTest.java: ########## @@ -45,17 +45,19 @@ public class KafkaSubscriberTest { private static final TopicPartition NON_EXISTING_TOPIC = new TopicPartition("removed", 0); private static AdminClient adminClient; - @BeforeClass + @BeforeAll public static void setup() throws Throwable { KafkaSourceTestEnv.setup(); KafkaSourceTestEnv.createTestTopic(TOPIC1); KafkaSourceTestEnv.createTestTopic(TOPIC2); adminClient = KafkaSourceTestEnv.getAdminClient(); } - @AfterClass + @AfterAll public static void tearDown() throws Exception { Review Comment: ```suggestion static void tearDown() throws Exception { ``` could be package private -- 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