Skip to content

Commit f299290

Browse files
committed
only test legacy consumer
1 parent c46d915 commit f299290

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

core/src/test/scala/integration/kafka/api/PlaintextConsumerCommitTest.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ class PlaintextConsumerCommitTest extends AbstractConsumerTest {
305305
}
306306

307307
@ParameterizedTest(name = TestInfoUtils.TestWithParameterizedQuorumAndGroupProtocolNames)
308-
@MethodSource(Array("getTestQuorumAndGroupProtocolParametersAll"))
308+
@MethodSource(Array("getTestQuorumAndGroupProtocolParametersClassicGroupProtocolOnly"))
309309
def testCommitAsyncCompletedBeforeConsumerCloses(quorum: String, groupProtocol: String): Unit = {
310310
// This is testing the contract that asynchronous offset commit are completed before the consumer
311311
// is closed, even when no commit sync is performed as part of the close (due to auto-commit
@@ -326,7 +326,7 @@ class PlaintextConsumerCommitTest extends AbstractConsumerTest {
326326
}
327327

328328
@ParameterizedTest(name = TestInfoUtils.TestWithParameterizedQuorumAndGroupProtocolNames)
329-
@MethodSource(Array("getTestQuorumAndGroupProtocolParametersAll"))
329+
@MethodSource(Array("getTestQuorumAndGroupProtocolParametersClassicGroupProtocolOnly"))
330330
def testCommitAsyncCompletedBeforeCommitSyncReturns(quorum: String, groupProtocol: String): Unit = {
331331
// This is testing the contract that asynchronous offset commits sent previously with the
332332
// `commitAsync` are guaranteed to have their callbacks invoked prior to completion of
@@ -370,8 +370,8 @@ class PlaintextConsumerCommitTest extends AbstractConsumerTest {
370370
}
371371

372372
object PlaintextConsumerCommitTest {
373-
def getTestQuorumAndGroupProtocolParametersConsumerGroupProtocolOnly: Stream[Arguments] =
374-
BaseConsumerTest.getTestQuorumAndGroupProtocolParametersConsumerGroupProtocolOnly()
373+
def getTestQuorumAndGroupProtocolParametersClassicGroupProtocolOnly: Stream[Arguments] =
374+
BaseConsumerTest.getTestQuorumAndGroupProtocolParametersClassicGroupProtocolOnly()
375375

376376
def getTestQuorumAndGroupProtocolParametersAll: Stream[Arguments] =
377377
BaseConsumerTest.getTestQuorumAndGroupProtocolParametersAll()

0 commit comments

Comments
 (0)