Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-16472

Integration tests in Java don't really run kraft case

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.8.0, 3.7.1
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              yangpoan PoAn Yang
              yangpoan PoAn Yang
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: