From dde0b8cd92e2b3165f3af63daa61042733e89981 Mon Sep 17 00:00:00 2001 From: Jhen-Yung Hsu Date: Tue, 8 Jul 2025 07:42:15 +0800 Subject: [PATCH] MINOR: Prevent unnecessary test runs - KAFKA-19042 follow-up (#20122) PlaintextConsumerTest should extend AbstractConsumerTest instead BaseConsumerTest. Otherwise, those tests will be executed on both `clients-integration-tests` and `core` (see https://github.com/apache/kafka/pull/20081/files#r2190749592). Reviewers: Chia-Ping Tsai --- .../scala/integration/kafka/api/PlaintextConsumerTest.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/test/scala/integration/kafka/api/PlaintextConsumerTest.scala b/core/src/test/scala/integration/kafka/api/PlaintextConsumerTest.scala index fc60cab1d0d..bbc4e6c350c 100644 --- a/core/src/test/scala/integration/kafka/api/PlaintextConsumerTest.scala +++ b/core/src/test/scala/integration/kafka/api/PlaintextConsumerTest.scala @@ -24,8 +24,8 @@ import org.junit.jupiter.params.provider.MethodSource import java.util.concurrent.ExecutionException -@Timeout(600) -class PlaintextConsumerTest extends BaseConsumerTest { +@Timeout(60) +class PlaintextConsumerTest extends AbstractConsumerTest { @Flaky("KAFKA-18031") @ParameterizedTest(name = TestInfoUtils.TestWithParameterizedGroupProtocolNames)