move qa yaml tests to inside the ILM plugin (#32693)

The qa tests with security haven't actually gone as far as testing security roles yet, so this is a start in the hopes of both bringing the tests into the ilm plugin
This commit is contained in:
Tal Levy 2018-08-09 16:09:20 -07:00 committed by GitHub
parent 8750d622fc
commit 41e6d98af8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 0 deletions

View File

@ -17,6 +17,8 @@ dependencies {
testCompile project(path: xpackModule('core'), configuration: 'testArtifacts')
}
check.dependsOn 'qa:with-security:integTestRunner'
integTestCluster {
numNodes = 2
clusterName = 'ilm'

View File

@ -0,0 +1,11 @@
/* Remove assemble on all qa projects because we don't need to publish
* artifacts for them. */
gradle.projectsEvaluated {
subprojects {
Task assemble = project.tasks.findByName('assemble')
if (assemble) {
project.tasks.remove(assemble)
project.build.dependsOn.remove('assemble')
}
}
}

View File

@ -9,6 +9,7 @@ dependencies {
task copyILMRestTests(type: Copy) {
into project.sourceSets.test.output.resourcesDir
from xpackProject('plugin').sourceSets.test.resources.srcDirs
include 'rest-api-spec/api/ilm.*'
include 'rest-api-spec/test/ilm/**'
}