Skip to content

Commit ad4d7bf

Browse files
author
Hendrik Muhs
authored
[8.2][Transform] improve CCS test to cover the previous minor version #86727 (#86747)
add testing against the previous minor version backport #86727 relates #86741 relates #86716
1 parent f8df946 commit ad4d7bf

File tree

1 file changed

+7
-0
lines changed
  • x-pack/plugin/transform/qa/multi-cluster-tests-with-security

1 file changed

+7
-0
lines changed

x-pack/plugin/transform/qa/multi-cluster-tests-with-security/build.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
import org.elasticsearch.gradle.internal.test.RestIntegTestTask
2+
import org.elasticsearch.gradle.Version
3+
import org.elasticsearch.gradle.VersionProperties
24

35
apply plugin: 'elasticsearch.internal-testclusters'
46
apply plugin: 'elasticsearch.standalone-rest-test'
@@ -9,6 +11,8 @@ dependencies {
911
testImplementation project(':client:rest-high-level')
1012
}
1113

14+
Version ccsCompatVersion = new Version(VersionProperties.getElasticsearchVersion().getMajor(), VersionProperties.getElasticsearchVersion().getMinor() - 1, 0)
15+
1216
restResources {
1317
restApi {
1418
include '_common', 'bulk', 'indices', 'cluster', 'search', 'security', 'transform'
@@ -18,11 +22,14 @@ restResources {
1822

1923
def remoteCluster = testClusters.register('remote-cluster') {
2024
testDistribution = 'DEFAULT'
25+
versions = [ccsCompatVersion.toString(), project.version]
2126
numberOfNodes = 2
2227
setting 'node.roles', '[data,ingest,master]'
2328
setting 'xpack.security.enabled', 'true'
2429
setting 'xpack.watcher.enabled', 'false'
2530
setting 'xpack.license.self_generated.type', 'trial'
31+
// see gh#86716, disable assert to test fix
32+
jvmArgs '-da'
2633

2734
user username: "test_user", password: "x-pack-test-password"
2835
}

0 commit comments

Comments
 (0)