chia7712 commented on code in PR #20081:
URL: https://github.com/apache/kafka/pull/20081#discussion_r2190749592


##########
core/src/test/scala/integration/kafka/api/PlaintextConsumerTest.scala:
##########
@@ -12,820 +12,21 @@
   */
 package kafka.api
 
-import kafka.api.BaseConsumerTest.{DeserializerImpl, SerializerImpl}
-
-import java.time.Duration
 import java.util
-import java.util.{Locale, Optional, Properties}
-import kafka.server.KafkaBroker
 import kafka.utils.{TestInfoUtils, TestUtils}
-import org.apache.kafka.clients.admin.{NewPartitions, NewTopic}
 import org.apache.kafka.clients.consumer._
-import org.apache.kafka.clients.producer.{ProducerConfig, ProducerRecord}
-import org.apache.kafka.common.config.TopicConfig
-import org.apache.kafka.common.errors.{InterruptException, 
InvalidGroupIdException, InvalidTopicException, TimeoutException, 
WakeupException}
-import org.apache.kafka.common.record.{CompressionType, TimestampType}
-import org.apache.kafka.common.serialization._
+import org.apache.kafka.common.errors.InterruptException
 import org.apache.kafka.common.test.api.Flaky
-import org.apache.kafka.common.{MetricName, TopicPartition}
-import org.apache.kafka.server.quota.QuotaType
-import org.apache.kafka.test.{MockConsumerInterceptor, MockProducerInterceptor}
 import org.junit.jupiter.api.Assertions._
 import org.junit.jupiter.api.Timeout
 import org.junit.jupiter.params.ParameterizedTest
 import org.junit.jupiter.params.provider.MethodSource
 
-import java.util.concurrent.{CompletableFuture, ExecutionException, TimeUnit}
+import java.util.concurrent.ExecutionException
 
 @Timeout(600)
 class PlaintextConsumerTest extends BaseConsumerTest {

Review Comment:
   it should extend `AbstractConsumerTest` instead `BaseConsumerTest`. 
otherwise, those tests will be executed on both `clients-integration-tests` and 
`core`



-- 
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: jira-unsubscr...@kafka.apache.org

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

Reply via email to