mirror of https://github.com/apache/kafka.git
MINOR: fix rerun-tests for unit test (#13288)
Related to #11926. Let `unitTest` also process rerun-tests. Reviewers: Guozhang Wang <wangguoz@gmail.com>
This commit is contained in:
parent
d479d129e0
commit
3d9a03cfe8
|
@ -535,6 +535,11 @@ subprojects {
|
|||
maxRetries = userMaxTestRetries
|
||||
maxFailures = userMaxTestRetryFailures
|
||||
}
|
||||
|
||||
// Allows devs to run tests in a loop to debug flaky tests. See README.
|
||||
if (project.hasProperty("rerun-tests")) {
|
||||
outputs.upToDateWhen { false }
|
||||
}
|
||||
}
|
||||
|
||||
// remove test output from all test types
|
||||
|
|
Loading…
Reference in New Issue