Skip to content

Commit f340635

Browse files
committed
Add integration tests to verify CCS output (elastic#40038)
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
1 parent 078bc01 commit f340635

File tree

3 files changed

+853
-3
lines changed

3 files changed

+853
-3
lines changed

qa/multi-cluster-search/build.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ import org.elasticsearch.gradle.test.RestIntegTestTask
2121

2222
apply plugin: 'elasticsearch.standalone-test'
2323

24+
dependencies {
25+
testCompile "org.elasticsearch.client:elasticsearch-rest-high-level-client:${version}"
26+
}
27+
2428
task remoteClusterTest(type: RestIntegTestTask) {
2529
mustRunAfter(precommit)
2630
}
@@ -53,6 +57,6 @@ task integTest {
5357
dependsOn = [mixedClusterTest]
5458
}
5559

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

5862
check.dependsOn(integTest)

0 commit comments

Comments
 (0)