2017-08-04 11:44:08 -04:00
|
|
|
apply plugin: 'elasticsearch.standalone-test'
|
|
|
|
apply plugin: 'elasticsearch.vagrantsupport'
|
|
|
|
|
|
|
|
dependencies {
|
2018-01-20 00:30:17 -05:00
|
|
|
testCompile project(path: ':x-pack-elasticsearch:plugin:core', configuration: 'runtime')
|
|
|
|
testCompile project(path: ':x-pack-elasticsearch:plugin:security', configuration: 'testArtifacts')
|
|
|
|
testCompile project(path: ':x-pack-elasticsearch:plugin:core', configuration: 'testArtifacts')
|
2017-08-04 11:44:08 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
task openLdapFixture {
|
|
|
|
dependsOn "vagrantCheckVersion", "virtualboxCheckVersion", ":x-pack-elasticsearch:test:openldap-fixture:up"
|
|
|
|
}
|
|
|
|
|
|
|
|
if (project.rootProject.vagrantSupported) {
|
|
|
|
test.dependsOn openLdapFixture
|
2017-11-08 12:57:29 -05:00
|
|
|
test.finalizedBy ":x-pack-elasticsearch:test:openldap-fixture:halt"
|
2017-08-04 11:44:08 -04:00
|
|
|
} else {
|
|
|
|
test.enabled = false
|
|
|
|
}
|
|
|
|
|
|
|
|
namingConventions {
|
|
|
|
// integ tests use Tests instead of IT
|
|
|
|
skipIntegTestInDisguise = true
|
|
|
|
}
|