geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbarr...@apache.org
Subject [geode] 37/46: GEODE-5363: Allow parallel tests.
Date Wed, 11 Jul 2018 16:13:44 GMT
This is an automated email from the ASF dual-hosted git repository.

jbarrett pushed a commit to branch feature/GEODE-5363
in repository https://gitbox.apache.org/repos/asf/geode.git

commit 4523d8d5db576fbce7a4232216df72adf18e8e41
Author: Jacob Barrett <jbarrett@pivotal.io>
AuthorDate: Mon Jul 9 17:29:29 2018 -0700

    GEODE-5363: Allow parallel tests.
---
 gradle/test.gradle | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gradle/test.gradle b/gradle/test.gradle
index e7e9e58..ea0192d 100644
--- a/gradle/test.gradle
+++ b/gradle/test.gradle
@@ -103,6 +103,12 @@ subprojects {
     }
 
     forkEvery 1
+
+    if (project.hasProperty('maxParallelForks'))
+      maxParallelForks = project.maxParallelForks as int
+    if (project.hasProperty('forkEvery'))
+      forkEvery = project.forkEvery as int
+
     doFirst {
       TestPropertiesWriter.writeTestProperties(buildDir, name)
     }


Mime
View raw message