Update plugins smoke test to use correct plugin count for xpack

Original commit: elastic/x-pack-elasticsearch@40f464acbd
This commit is contained in:
Ryan Ernst 2015-12-04 11:52:31 -08:00
parent 2521e567f1
commit 3e9d29d9b9
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ task createKey(type: LoggedExec) {
sourceSets.test.resources.srcDir(keystore.parentFile) sourceSets.test.resources.srcDir(keystore.parentFile)
processTestResources.dependsOn(createKey) processTestResources.dependsOn(createKey)
ext.pluginsCount = 4 // we install xplugins explicitly ext.pluginsCount = 1 // we install xpack explicitly
project.rootProject.subprojects.findAll { it.path.startsWith(':plugins:') }.each { subproj -> project.rootProject.subprojects.findAll { it.path.startsWith(':plugins:') }.each { subproj ->
// need to get a non-decorated project object, so must re-lookup the project by path // need to get a non-decorated project object, so must re-lookup the project by path
integTest.cluster.plugin(subproj.name, project(subproj.path)) integTest.cluster.plugin(subproj.name, project(subproj.path))

View File

@ -6,7 +6,7 @@ dependencies {
testCompile project(path: ':x-plugins:elasticsearch:x-pack', configuration: 'runtime') testCompile project(path: ':x-plugins:elasticsearch:x-pack', configuration: 'runtime')
} }
ext.pluginsCount = 4 // we install xplugins explicitly ext.pluginsCount = 1 // we install xpack explicitly
project.rootProject.subprojects.findAll { it.path.startsWith(':plugins:') }.each { subproj -> project.rootProject.subprojects.findAll { it.path.startsWith(':plugins:') }.each { subproj ->
// need to get a non-decorated project object, so must re-lookup the project by path // need to get a non-decorated project object, so must re-lookup the project by path
integTest.cluster.plugin(subproj.name, project(subproj.path)) integTest.cluster.plugin(subproj.name, project(subproj.path))