Skip to content

Commit

Permalink
Add integration tests to verify CCS output (elastic#40038)
Browse files Browse the repository at this point in the history
We recently introduced the option to minimize network roundtrips when
executing cross-cluster search requests. All the changes made around
that are separately unit tested, and there are some yaml tests that
exercise the new code-path which involves multiple coordination steps.
This commit adds new integration tests that compare the output given by
CCS when running the same queries using the two different execution
modes available.

Relates to elastic#32125
  • Loading branch information
javanna committed Mar 29, 2019
1 parent 078bc01 commit f340635
Show file tree
Hide file tree
Showing 3 changed files with 853 additions and 3 deletions.
6 changes: 5 additions & 1 deletion qa/multi-cluster-search/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ import org.elasticsearch.gradle.test.RestIntegTestTask

apply plugin: 'elasticsearch.standalone-test'

dependencies {
testCompile "org.elasticsearch.client:elasticsearch-rest-high-level-client:${version}"
}

task remoteClusterTest(type: RestIntegTestTask) {
mustRunAfter(precommit)
}
Expand Down Expand Up @@ -53,6 +57,6 @@ task integTest {
dependsOn = [mixedClusterTest]
}

unitTest.enabled = false // no unit tests for multi-cluster-search, only the rest integration test
unitTest.enabled = false // no unit tests for multi-cluster-search, only integration tests

check.dependsOn(integTest)
Loading

0 comments on commit f340635

Please sign in to comment.