mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-08 22:14:59 +00:00
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')
|
testCompile project(path: xpackModule('core'), configuration: 'testArtifacts')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
check.dependsOn 'qa:with-security:integTestRunner'
|
||||||
|
|
||||||
integTestCluster {
|
integTestCluster {
|
||||||
numNodes = 2
|
numNodes = 2
|
||||||
clusterName = 'ilm'
|
clusterName = 'ilm'
|
||||||
|
11
x-pack/plugin/ilm/qa/build.gradle
Normal file
11
x-pack/plugin/ilm/qa/build.gradle
Normal 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')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -9,6 +9,7 @@ dependencies {
|
|||||||
task copyILMRestTests(type: Copy) {
|
task copyILMRestTests(type: Copy) {
|
||||||
into project.sourceSets.test.output.resourcesDir
|
into project.sourceSets.test.output.resourcesDir
|
||||||
from xpackProject('plugin').sourceSets.test.resources.srcDirs
|
from xpackProject('plugin').sourceSets.test.resources.srcDirs
|
||||||
|
include 'rest-api-spec/api/ilm.*'
|
||||||
include 'rest-api-spec/test/ilm/**'
|
include 'rest-api-spec/test/ilm/**'
|
||||||
}
|
}
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user