urbandan commented on a change in pull request #9430: URL: https://github.com/apache/kafka/pull/9430#discussion_r563837684
########## File path: core/src/test/scala/kafka/tools/GetOffsetShellTest.scala ########## @@ -0,0 +1,194 @@ +package kafka.tools + +import java.time.Duration +import java.util.Properties +import java.util.regex.Pattern + +import kafka.integration.KafkaServerTestHarness +import kafka.server.KafkaConfig +import kafka.utils.{Exit, Logging, TestUtils} +import org.apache.kafka.clients.CommonClientConfigs +import org.apache.kafka.clients.consumer.{ConsumerConfig, KafkaConsumer} +import org.apache.kafka.clients.producer.{KafkaProducer, ProducerConfig, ProducerRecord} +import org.apache.kafka.common.serialization.{StringDeserializer, StringSerializer} +import org.junit.Assert.{assertEquals, assertTrue} +import org.junit.{Before, Test} + +class GetOffsetShellTest extends KafkaServerTestHarness with Logging { Review comment: Agree, added coverage for the arguments and the filter parsing as well ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org