From 862283fb9cacb89513c51b47cfc02f6c32408818 Mon Sep 17 00:00:00 2001 From: Mike Smith Date: Wed, 6 Apr 2016 13:42:30 -0700 Subject: [PATCH] Trying to resolve some unit-test failures Only happening on cloudbees jenkins. Seems to be caused by multiple tests running concurrently and causing conflicts with ThreadLocalS. --- build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.gradle b/build.gradle index 2499630129..457b16de6d 100644 --- a/build.gradle +++ b/build.gradle @@ -36,4 +36,9 @@ subprojects { tasks.withType(Javadoc).each { it.classpath = sourceSets.main.compileClasspath } + + test { + forkEvery = 1 + maxParallelForks = 1 + } }