mardi 5 juillet 2016

Disable parallel tests in Gradle multi-project build

I'd like to disable running tests in parallel across sub-projects in a multi-project Gradle build. The reason why I need all tests to run in sequence is because I'm running a local instance of Apache Spark and if two or more instances are started (which is the case when running multiple tests across sub-projects) Spark fails because it can't run more Spark instances in the same JVM.

Tried the --max-workers and --parallel-threads command line arguments (set to 1) but they don't seem to work.

Any suggestions?

Aucun commentaire:

Enregistrer un commentaire