This is an automated email from the ASF dual-hosted git repository.
jbarrett pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git
The following commit(s) were added to refs/heads/develop by this push:
new 31cfb98 GEODE-5536 let unit tests fork to run in parallel
31cfb98 is described below
commit 31cfb98eb98731c4eedb5d0941a8b080c494ce95
Author: Finn Southerland <[email protected]>
AuthorDate: Tue Aug 7 11:11:07 2018 -0700
GEODE-5536 let unit tests fork to run in parallel
Signed-off-by: Jacob Barrett <[email protected]>
---
gradle/test.gradle | 1 +
1 file changed, 1 insertion(+)
diff --git a/gradle/test.gradle b/gradle/test.gradle
index 680d57a..a92c29d 100644
--- a/gradle/test.gradle
+++ b/gradle/test.gradle
@@ -82,6 +82,7 @@ subprojects {
doFirst {
TestPropertiesWriter.writeTestProperties(buildDir, name)
}
+ maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
}
apply plugin: 'nebula.facet'