Skip to content
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

[CCR] Add qa test library #34611

Merged
merged 9 commits into from Oct 23, 2018
Merged

[CCR] Add qa test library #34611

merged 9 commits into from Oct 23, 2018

Conversation

martijnvg
Copy link
Member

Introduced test qa lib that all CCR qa modules depend on in order to avoid test code duplication.
All qa multi node tests now extend from a new base class that adds several helper methods.

@martijnvg martijnvg added >non-issue :Distributed/CCR Issues around the Cross Cluster State Replication features labels Oct 18, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed

@@ -5,6 +5,7 @@ apply plugin: 'elasticsearch.standalone-test'
dependencies {
testCompile project(path: xpackModule('core'), configuration: 'testArtifacts')
testCompile project(path: xpackModule('ccr'), configuration: 'runtime')
testCompile project(':x-pack:plugin:ccr:qa:test-common')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SQL has this and it sticks it in qa.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, it is in x-pack/qa/sql now, but I'm in the process of moving it to x-pack/plugin/sql/qa.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is a much better idea than adding another gradle module. So I did this: 633afa7

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and here is the second half of the change: 772a4f8

Copy link
Member

@jasontedor jasontedor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, left one comment, no need for another round.

@@ -1,5 +1,14 @@
import org.elasticsearch.gradle.test.RestIntegTestTask

apply plugin: 'elasticsearch.build'

archivesBaseName = 'ccr-qa-test-common'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let us remove this.

@martijnvg martijnvg merged commit 0efba06 into elastic:master Oct 23, 2018
martijnvg added a commit that referenced this pull request Oct 23, 2018
* Introduced test qa lib that all CCR qa modules depend on to avoid
test code duplication.
kcm pushed a commit that referenced this pull request Oct 30, 2018
* Introduced test qa lib that all CCR qa modules depend on to avoid
test code duplication.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed/CCR Issues around the Cross Cluster State Replication features >non-issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants