How to synchronize test execution in parallel multi-project builds?


(Mark Koops) #1

Does Gradle provide a way to specify a mutual exclusive lock on Java test execution for some of the projects in our multi-project build? We need to run the JUnit tests in these projects sequentially because these projects are all testing against an external server (but each project with its own configuration).

This counts for just 5 out of 150 projects in our build. For the other projects we would like to have the parallelization in place to speed things up.


Parallelizable JAXB/XJC Plugin/Task
(Mark Koops) #2

just noticed that the suggestion for introducing a mutex on tasks has been reported 13 days ago, see: http://forums.gradle.org/gradle/topics/mutex_for_parallel_execution