فهرست منبع

Make sure ApacheDS work directory is set correctly for separate LDAP test task in config module.

Luke Taylor 15 سال پیش
والد
کامیت
7dd8cd2fb9
3فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 1 0
      config/config.gradle
  2. 1 1
      gradle/javaprojects.gradle
  3. 1 0
      ldap/ldap.gradle

+ 1 - 0
config/config.gradle

@@ -40,6 +40,7 @@ dependencies {
 }
 
 task ldapTests(type: Test) {
+    jvmArgs = ['-ea', '-Xmx500m', "-DapacheDSWorkDir=${buildDir}/apacheDSWork"]
     include ("**/ldap/**")
     maxParallelForks = 1
    // GRADLE-1090

+ 1 - 1
gradle/javaprojects.gradle

@@ -47,7 +47,7 @@ sourceSets.main.compileClasspath += configurations.provided
 [compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
 
 test {
-    jvmArgs = ['-ea', '-Xmx500m', "-DapacheDSWorkDir=${buildDir}/apacheDSWork"]
+    jvmArgs = ['-ea', '-Xmx500m']
     maxParallelForks = guessMaxForks()
     testReport = false
 }

+ 1 - 0
ldap/ldap.gradle

@@ -3,6 +3,7 @@
 test {
     exclude('**/OpenLDAPIntegrationTestSuite.class')
     maxParallelForks = 1
+    jvmArgs "-DapacheDSWorkDir=${buildDir}/apacheDSWork"
 }
 
 apacheds_libs = [