Remove explict LDAP dir for integration tests

This commit is contained in:
Rob Winch 2014-06-18 09:50:17 -05:00
parent f4914b2271
commit 055eb72d60
2 changed files with 1 additions and 7 deletions

View File

@ -52,8 +52,4 @@ dependencies {
test { test {
inputs.file file("$rootDir/docs/manual/src/docbook/appendix-namespace.xml") inputs.file file("$rootDir/docs/manual/src/docbook/appendix-namespace.xml")
} }
integrationTest {
systemProperties['apacheDSWorkDir'] = "${buildDir}/apacheDSWork"
}

View File

@ -33,13 +33,11 @@ integrationTest {
include('**/ApacheDSServerIntegrationTests.class') include('**/ApacheDSServerIntegrationTests.class')
// exclude('**/OpenLDAPIntegrationTestSuite.class') // exclude('**/OpenLDAPIntegrationTestSuite.class')
maxParallelForks = 1 maxParallelForks = 1
systemProperties['apacheDSWorkDir'] = "${buildDir}/apacheDSWork"
} }
// Runs a server for running the integration tests against (from an IDE, for example) // Runs a server for running the integration tests against (from an IDE, for example)
task(ldapServer, dependsOn: 'integrationTestClasses', type: JavaExec) { task(ldapServer, dependsOn: 'integrationTestClasses', type: JavaExec) {
classpath = sourceSets.integrationTest.runtimeClasspath classpath = sourceSets.integrationTest.runtimeClasspath
main = 'org.springframework.security.ldap.ApacheDSServerIntegrationTests' main = 'org.springframework.security.ldap.ApacheDSServerIntegrationTests'
systemProperties['apacheDSWorkDir'] = "${buildDir}/apacheDSWork"
} }