Skip to content

Commit

Permalink
Add integration tests to verify CCS output (#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 #32125
  • Loading branch information
javanna committed Mar 25, 2019
1 parent 3af0c17 commit 35f6c71
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
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)

0 comments on commit 35f6c71

Please sign in to comment.