You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Kirk True (Jira)" <ji...@apache.org> on 2024/10/07 04:02:05 UTC
[jira] [Updated] (KAFKA-16642) Update KafkaConsumerTest to show parameters in test lists
[ https://issues.apache.org/jira/browse/KAFKA-16642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kirk True updated KAFKA-16642:
------------------------------
Fix Version/s: (was: 4.0.0)
> Update KafkaConsumerTest to show parameters in test lists
> ---------------------------------------------------------
>
> Key: KAFKA-16642
> URL: https://issues.apache.org/jira/browse/KAFKA-16642
> Project: Kafka
> Issue Type: Bug
> Components: clients, consumer, unit tests
> Affects Versions: 3.7.0
> Reporter: Kirk True
> Assignee: Chia-Ping Tsai
> Priority: Minor
> Labels: consumer-threading-refactor
>
> {{KafkaConsumerTest}} was recently updated to make many of its tests parameterized to exercise both the {{CLASSIC}} and {{CONSUMER}} group protocols. However, in some of the tools in which [lists of tests are provided|https://ge.apache.org/scans/tests?search.names=Git%20branch&search.relativeStartTime=P28D&search.rootProjectNames=kafka&search.timeZoneId=America%2FLos_Angeles&search.values=trunk&tests.container=org.apache.kafka.clients.consumer.KafkaConsumerTest&tests.sortField=FLAKY], say, for analysis, the group protocol information is not exposed. For example, one test ({{{}testReturnRecordsDuringRebalance{}}}) is flaky, but it's difficult to know at a glance which group protocol is causing the problem because the list simply shows:
> {quote}{{testReturnRecordsDuringRebalance(GroupProtocol)[1]}}
> {quote}
> Ideally, it would expose more information, such as:
> {quote}{{testReturnRecordsDuringRebalance(GroupProtocol=CONSUMER)}}
> {quote}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)