Skip to content

Commit

Permalink
Configure internalClusterTest for snapshot_feature_enabled flag (elas…
Browse files Browse the repository at this point in the history
…tic#62185)

closes elastic#62039
# Conflicts:
#	x-pack/plugin/searchable-snapshots/build.gradle
  • Loading branch information
jakelandis committed Sep 9, 2020
1 parent 1eb4595 commit 2a264b6
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions x-pack/plugin/searchable-snapshots/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ dependencies {
internalClusterTestImplementation project(path: xpackModule('core'), configuration: 'testArtifacts')
}

// xpack modules are installed in real clusters as the meta plugin, so
// installing them as individual plugins for integ tests doesn't make sense,
// so we disable integ tests
integTest.enabled = false


// add all sub-projects of the qa sub-project
gradle.projectsEvaluated {
Expand All @@ -43,8 +40,9 @@ artifacts {
testArtifacts testJar
}

testClusters.integTest {
internalClusterTest {
if (BuildParams.isSnapshotBuild() == false) {
systemProperty 'es.searchable_snapshots_feature_enabled', 'true'
}
}

0 comments on commit 2a264b6

Please sign in to comment.