Chia-Ping Tsai created KAFKA-17179:
--------------------------------------

             Summary: Don't add `integration` tag when using 
`ClusterTestExtensions`
                 Key: KAFKA-17179
                 URL: https://issues.apache.org/jira/browse/KAFKA-17179
             Project: Kafka
          Issue Type: Improvement
            Reporter: Chia-Ping Tsai
            Assignee: Ming-Yen Chung


KAFKA-17172 integrates the `@Tag("integration")` to `ClusterTest` and 
`ClusterTemplate`, so we don't need to declare `@Tag("integration")` on class 
level.

In fact, declaring it on class level will cause issue when running unit test. 
For example: `DescribeConsumerGroupTest` [0] is composed of UT and IT, but it 
has `@Tag("integration")` on class-level. Hence, `./gradlew cleanTest 
tools:unitTest --tests DescribeConsumerGroupTest` will get error due to "No 
tests found"


[0] 
https://github.com/apache/kafka/blob/90b779b7bb8b813e52ea21ce88c209e71b475ec9/tools/src/test/java/org/apache/kafka/tools/consumer/group/DescribeConsumerGroupTest.java#L73



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to