Skip to content

Commit

Permalink
MINOR: Add new build target for system test libs
Browse files Browse the repository at this point in the history
KAFKA-2644 adds MiniKdc for system tests and hence needs a target to collect all MiniKdc jars. At the moment, system tests run `gradlew jar`. Replacing that with `gradlew systemTestLibs` will enable kafka jars and test dependency jars to be built and copied into appropriate locations. Submitting this as a separate PR so that the new target can be added to the build scripts that run system tests before KAFKA-2644 is committed. A separate target for system test artifacts will allow dependency changes to be made in future without breaking test runs.

Author: Rajini Sivaram <[email protected]>

Reviewers: Ismael Juma <[email protected]>, Jun Rao <[email protected]>

Closes apache#361 from rajinisivaram/kafka-systemTestLibs
  • Loading branch information
rajinisivaram authored and junrao committed Oct 28, 2015
1 parent 443cd9a commit bd3fe83
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ subprojects {

task docsJar(dependsOn: javadocJar)

task systemTestLibs(dependsOn: jar)

artifacts {
archives srcJar
archives javadocJar
Expand Down
2 changes: 1 addition & 1 deletion tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ https://cwiki.apache.org/confluence/display/KAFKA/tutorial+-+set+up+and+run+Kafk

$ git checkout $BRANCH
$ gradle # (only if necessary)
$ ./gradlew jar
$ ./gradlew systemTestLibs

* Run the system tests using ducktape:

Expand Down

0 comments on commit bd3fe83

Please sign in to comment.