Repository: kafka
Updated Branches:
  refs/heads/trunk 63b89658b -> 786867c2e


KAFKA-2438; add maxParallelForks to build.gradle to speedup tests.

Author: Sriharsha Chintalapani <har...@hortonworks.com>

Reviewers: Gwen Shapira

Closes #143 from harshach/KAFKA-2438


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/786867c2
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/786867c2
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/786867c2

Branch: refs/heads/trunk
Commit: 786867c2e18f79fa17be120f78a253bb9822a861
Parents: 63b8965
Author: Sriharsha Chintalapani <har...@hortonworks.com>
Authored: Sun Aug 16 20:53:39 2015 -0700
Committer: Gwen Shapira <csh...@gmail.com>
Committed: Sun Aug 16 20:53:39 2015 -0700

----------------------------------------------------------------------
 build.gradle | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/786867c2/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index c7f66be..983587f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -114,6 +114,10 @@ subprojects {
     }
   }
 
+  tasks.withType(Test) {
+    maxParallelForks = Runtime.runtime.availableProcessors()
+  }
+
   jar {
     from '../LICENSE'
     from '../NOTICE'

Reply via email to