-
Notifications
You must be signed in to change notification settings - Fork 25.6k
cleanup ILM qa structure #35110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cleanup ILM qa structure #35110
Conversation
This commit does a few things - moves ILM-specifc rest yaml tests into plugin/ilm/qa, and creates special :plugin:ilm:qa:rest module to test them - removes the with-security tests of the yaml tests since they are covered in the rest tests now - moves ChangePolicyforIndexIT into the qa/multi-node project since that test is not currently running in main ilm since integTest is disabled
|
Pinging @elastic/es-core-infra |
|
As this build structure is borrowed from plugin/ccr, you will notice that there is no If this is not desired, we can modify (maybe in a followup, or here) EDIT EDIT EDIT: |
|
nevermind. CI hates that qa's check is broken with no licenseHeaders to verify will dig into this, I may be missing something. running theory is that there are no src files to check, unlike in CCR where there is |
alpar-t
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a minor comment, other than that LGTM
|
|
||
| subprojects { | ||
| project.tasks.withType(RestIntegTestTask) { | ||
| final File xPackResources = new File(xpackProject('plugin').projectDir, 'src/test/resources') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gradle encodes this information as a SourceSet,
so you can reference this path as xpack('plugin').sourceSets.test.resources
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like xpack is not accessible from RestIntegTestTask
> Could not create task ':x-pack:plugin:ilm:qa:multi-node:integTest'.
> Could not find method xpack() for arguments [plugin] on task ':x-pack:plugin:ilm:qa:multi-node:integTest' of type org.elasticsearch.gradle.test.RestIntegTestTask.
colings86
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM on the structure side. Thanks @atorok for taking a look at the gradle side.
|
thank you @atorok and @colings86 for taking another look at this |
This commit does a few things - moves ILM-specifc rest yaml tests into plugin/ilm/qa, and creates special :plugin:ilm:qa:rest module to test them - removes the with-security tests of the yaml tests since they are covered in the rest tests now - moves ChangePolicyforIndexIT into the qa/multi-node project since that test is not currently running in main ilm since integTest is disabled
This commit does a few things
:plugin:ilm:qa:rest module to test them
the rest tests now
not currently running in main ilm since integTest is disabled