snuyanzin commented on code in PR #20991: URL: https://github.com/apache/flink/pull/20991#discussion_r1034904521
########## flink-connectors/flink-connector-kafka/src/test/java/org/apache/flink/connector/kafka/source/enumerator/KafkaEnumeratorTest.java: ########## @@ -166,7 +167,8 @@ public void testReaderRegistrationTriggersAssignments() throws Throwable { } } - @Test(timeout = 30000L) + @Test + @Timeout(30000L) public void testDiscoverPartitionsPeriodically() throws Throwable { Review Comment: ```suggestion void testDiscoverPartitionsPeriodically() throws Throwable { ``` 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