[7.x] Configure internalClusterTest for snapshot_feature_enabled flag (#62185) (#62189)

closes #62039
This commit is contained in:
Jake Landis 2020-09-09 15:41:43 -05:00 committed by GitHub
parent b6bff56a56
commit c6c6596623
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -15,6 +15,8 @@ dependencies {
internalClusterTestImplementation project(path: xpackModule('core'), configuration: 'testArtifacts')
}
// add all sub-projects of the qa sub-project
gradle.projectsEvaluated {
project.subprojects
@ -38,8 +40,9 @@ artifacts {
testArtifacts testJar
}
testClusters.all {
internalClusterTest {
if (BuildParams.isSnapshotBuild() == false) {
systemProperty 'es.searchable_snapshots_feature_enabled', 'true'
}
}