You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by jb...@apache.org on 2018/08/07 18:11:46 UTC

[geode] branch develop updated: GEODE-5536 let unit tests fork to run in parallel

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 <fs...@pivotal.io>
AuthorDate: Tue Aug 7 11:11:07 2018 -0700

    GEODE-5536 let unit tests fork to run in parallel
    
    Signed-off-by: Jacob Barrett <jb...@pivotal.io>
---
 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'