PoAn Yang created KAFKA-16472:
---------------------------------

             Summary: Integration tests in Java don't really run kraft case
                 Key: KAFKA-16472
                 URL: https://issues.apache.org/jira/browse/KAFKA-16472
             Project: Kafka
          Issue Type: Test
            Reporter: PoAn Yang
            Assignee: PoAn Yang


Following test cases don't really run kraft case. The reason is that the test 
info doesn't contain parameter name, so it always returns false in 
TestInfoUtils#isKRaft.
 * TopicCommandIntegrationTest
 * DeleteConsumerGroupsTest
 * AuthorizerIntegrationTest
 * DeleteOffsetsConsumerGroupCommandIntegrationTest

 

We can add `options.compilerArgs += '-parameters'` after 
[https://github.com/apache/kafka/blob/376e9e20dbf7c7aeb6f6f666d47932c445eb6bd1/build.gradle#L264-L273]
 to fix it.

 

Also, we have to add `String quorum` to cases in 
DeleteOffsetsConsumerGroupCommandIntegrationTest.



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

Reply via email to