From caaa0685227d087e0e432a37f6d5a565a6d5e9c9 Mon Sep 17 00:00:00 2001
From: felmer <felmer>
Date: Wed, 11 Nov 2015 10:04:03 +0000
Subject: [PATCH] SSDM-2600: copy-pasted configuration from test target to the
 other test targets.

SVN: 35035
---
 openbis/build.gradle | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/openbis/build.gradle b/openbis/build.gradle
index db0ec707e84..d691bea64c1 100644
--- a/openbis/build.gradle
+++ b/openbis/build.gradle
@@ -63,21 +63,38 @@ sourceSets {
 
 task cleanDbSuite(type: Test) {
     useTestNG()
+    systemProperty "ant.project.name", project.name
+    maxHeapSize = "4096m"
+    jvmArgs '-XX:MaxPermSize=1024m', '-Duser.timezone=Europe/Zurich'
+    testLogging.showStandardStreams = true
+    ignoreFailures = true
+    
     options.suites('sourceTest/java/tests_system_cleandb_excluding_authorization.xml')
     reports.html.destination = file("${project.buildDir}/reports/tests-cleandb")
 }
 
 task cleanDbSuiteProjectSamplesEnabled(type: Test) {
     useTestNG()
+    systemProperty "ant.project.name", project.name
+    maxHeapSize = "4096m"
+    jvmArgs '-XX:MaxPermSize=1024m', '-Duser.timezone=Europe/Zurich'
+    testLogging.showStandardStreams = true
+    ignoreFailures = true
     systemProperty "project-samples-enabled", 'true'
+    
     options.suites('sourceTest/java/tests_system_cleandb_excluding_authorization_project_samples.xml')
     reports.html.destination = file("${project.buildDir}/reports/tests-cleandb-project-samples")
 }
 
 task testProjectSamplesEnabled(type: Test) {
     useTestNG()
+    systemProperty "ant.project.name", project.name
+    maxHeapSize = "4096m"
+    jvmArgs '-XX:MaxPermSize=1024m', '-Duser.timezone=Europe/Zurich'
+    testLogging.showStandardStreams = true
+    ignoreFailures = true
     systemProperty "project-samples-enabled", 'true'
-    systemProperty "ch.ethz.sis.openbis.v3.searchcache.size", '10m'
+    
     options.suites('sourceTest/java/tests_project_samples.xml')
     reports.html.destination = file("${project.buildDir}/reports/tests-project-samples")
 }
-- 
GitLab