mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-25 13:32:30 +00:00
Remove explict LDAP dir for integration tests
This commit is contained in:
parent
f4914b2271
commit
055eb72d60
@ -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"
|
|
||||||
}
|
|
@ -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"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user