[ https://issues.apache.org/jira/browse/KAFKA-16642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17872626#comment-17872626 ]
Chia-Ping Tsai commented on KAFKA-16642: ---------------------------------------- Junit 5 generates the display name "before" injecting the "value", hence I guess it is hard to show the `GroupProtocol=CONSUMER`since don't have the object yet. > 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 > Fix For: 3.9.0 > > > {{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)