|
@@ -1,4 +1,5 @@
|
|
|
import org.elasticsearch.gradle.Version
|
|
|
+import org.elasticsearch.gradle.internal.info.BuildParams
|
|
|
|
|
|
/*
|
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
@@ -27,6 +28,15 @@ restResources {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+if (BuildParams.isSnapshotBuild() == false) {
|
|
|
+ tasks.named("test").configure {
|
|
|
+ systemProperty 'es.index_mode_feature_flag_registered', 'true'
|
|
|
+ }
|
|
|
+ tasks.named("internalClusterTest").configure {
|
|
|
+ systemProperty 'es.index_mode_feature_flag_registered', 'true'
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
tasks.named("yamlRestTestV7CompatTransform").configure { task ->
|
|
|
task.skipTest("search.aggregation/20_terms/string profiler via global ordinals filters implementation", "The profiler results aren't backwards compatible.")
|
|
|
task.skipTest("search.aggregation/20_terms/string profiler via global ordinals native implementation", "The profiler results aren't backwards compatible.")
|