[ 
https://issues.apache.org/jira/browse/KAFKA-17433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Arthur updated KAFKA-17433:
---------------------------------
    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

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

  was:
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. 


> Add a CI job to run a single test N times
> -----------------------------------------
>
>                 Key: KAFKA-17433
>                 URL: https://issues.apache.org/jira/browse/KAFKA-17433
>             Project: Kafka
>          Issue Type: Improvement
>          Components: build
>            Reporter: David Arthur
>            Assignee: David Arthur
>            Priority: Minor
>             Fix For: 4.0.0
>
>
> 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
>  
> {code:java}
> ./gradlew -Pkafka.cluster.test.repeat=2 :core:test --tests 
> "*ZkMigrationIntegrationTest*" {code}



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

Reply via email to