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

Some integration tests are running as unit tests

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.6.0
    • unit tests

    Description

      This is a good item for a newcomer into Kafka code base to pick up

       

      When we run `./gradlew unitTest`, it is supposed to run all unit tests. However, we are running some integration tests as part of which makes the overall process of running unitTest take longer than expected.

      Example of such tests:

      > :streams:unitTest > Executing test org.apache...integration.NamedTopologyIntegrationTest

      > :streams:unitTest > Executing test org.apache...integration.QueryableStateIntegrationTest

      After this task, we should not run the these tests as part of `./gradlew unitTest`, instead they should be run as part of `./gradlew integrationTest`.

      As part of acceptance criteria, please add the snapshot of html summary generated to verify that these tests are indeed running as part of integrationTest.

      Attachments

        Activity

          People

            eziosudo Ezio Xie
            divijvaidya Divij Vaidya
            Divij Vaidya Divij Vaidya
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: