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

Add a CI job to run a single test N times

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 4.0.0
    • build
    • None

    Description

      When debugging flaky tests, it is sometimes hard to reproduce the failures locally. We should add a CI job that allows us to run a single test or a test suite a number of times.

       

      A new Gradle property "kafka.cluster.test.repeat" will allow us to specify the number of times a test is repeated. 

       

      Usage example

       

      ./gradlew -Pkafka.cluster.test.repeat=2 :core:test --tests "*ZkMigrationIntegrationTest*" 

      Attachments

        Issue Links

          Activity

            People

              davidarthur David Arthur
              davidarthur David Arthur
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: