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:
parent
8750d622fc
commit
41e6d98af8
|
@ -17,6 +17,8 @@ dependencies {
|
|||
testCompile project(path: xpackModule('core'), configuration: 'testArtifacts')
|
||||
}
|
||||
|
||||
check.dependsOn 'qa:with-security:integTestRunner'
|
||||
|
||||
integTestCluster {
|
||||
numNodes = 2
|
||||
clusterName = 'ilm'
|
||||
|
|
|
@ -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')
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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/**'
|
||||
}
|
||||
|
Loading…
Reference in New Issue