You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by go...@apache.org on 2017/11/15 18:57:36 UTC
[geode] 01/02: Adding an option to run tests with a different JVM
This is an automated email from the ASF dual-hosted git repository.
gosullivan pushed a commit to branch whitelist_wip
in repository https://gitbox.apache.org/repos/asf/geode.git
commit 3329467308bbfaaf0cc30db678474894132e5f62
Author: Dan Smith <up...@apache.org>
AuthorDate: Thu Nov 2 13:22:42 2017 -0700
Adding an option to run tests with a different JVM
---
gradle.properties | 3 +++
gradle/test.gradle | 3 +++
2 files changed, 6 insertions(+)
diff --git a/gradle.properties b/gradle.properties
index 50c9788..95f4b6d 100755
--- a/gradle.properties
+++ b/gradle.properties
@@ -56,3 +56,6 @@ dunitParallelForks = 8
dunitDockerImage = apachegeode/geode-build
# Docker user for parallel dunit tests
dunitDockerUser = root
+
+#JVM to be used by tests
+testJVM=
diff --git a/gradle/test.gradle b/gradle/test.gradle
index d321f28..d04c1e0 100644
--- a/gradle/test.gradle
+++ b/gradle/test.gradle
@@ -249,6 +249,9 @@ subprojects {
maxHeapSize '768m'
// jvmArgs = ['-XX:+HeapDumpOnOutOfMemoryError', '-ea',"-XX:+PrintGC", "-XX:+PrintGCDetails","-XX:+PrintGCTimeStamps"]
jvmArgs = ['-XX:+HeapDumpOnOutOfMemoryError', '-ea']
+ if(!testJVM.trim().isEmpty()) {
+ executable="${testJVM}/bin/java"
+ }
systemProperty 'gemfire.DEFAULT_MAX_OPLOG_SIZE', '10'
systemProperty 'gemfire.disallowMcastDefaults', 'true'
--
To stop receiving notification emails like this one, please contact
"commits@geode.apache.org" <co...@geode.apache.org>.