By enabling searchable snapshots for release builds.
This commit is contained in:
parent
14547b14fb
commit
146b2e6b1a
|
@ -1,3 +1,5 @@
|
|||
import org.elasticsearch.gradle.info.BuildParams
|
||||
|
||||
apply plugin: 'elasticsearch.yaml-rest-test'
|
||||
|
||||
restResources {
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue