Skip to content

Commit

Permalink
[Test] Fix data-stream rest test failure (#62137) (#62144)
Browse files Browse the repository at this point in the history
By enabling searchable snapshots for release builds.
  • Loading branch information
ywangd authored Sep 9, 2020
1 parent 14547b1 commit 146b2e6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions x-pack/plugin/data-streams/qa/rest/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import org.elasticsearch.gradle.info.BuildParams

apply plugin: 'elasticsearch.yaml-rest-test'

restResources {
Expand All @@ -12,6 +14,9 @@ restResources {

testClusters.all {
testDistribution = 'DEFAULT'
if (BuildParams.isSnapshotBuild() == false) {
systemProperty 'es.searchable_snapshots_feature_enabled', 'true'
}
// Data streams is basic, but a few tests test data streams in combination with paid features
setting 'xpack.license.self_generated.type', 'trial'
// disable ILM history, since it disturbs tests using _all
Expand Down

0 comments on commit 146b2e6

Please sign in to comment.