File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 5
5
* in compliance with, at your election, the Elastic License 2.0 or the Server
6
6
* Side Public License, v 1.
7
7
*/
8
- import org.elasticsearch.gradle.Version
8
+ import org.elasticsearch.gradle.internal.info.BuildParams
9
9
10
10
apply plugin : ' elasticsearch.internal-yaml-rest-test'
11
11
apply plugin : ' elasticsearch.yaml-rest-compat-test'
@@ -29,6 +29,15 @@ dependencies {
29
29
clusterModules project(' :modules:mapper-extras' )
30
30
}
31
31
32
+ tasks. named(" yamlRestTest" ). configure { task->
33
+ if (BuildParams . getRuntimeJavaVersion(). majorVersion. toInteger() < 21 ) {
34
+ // Requires at least Java 21
35
+ systemProperty ' tests.rest.blacklist' , [
36
+ " analysis-common/50_char_filters/pattern_replace error handling (too complex pattern)"
37
+ ]. join(' ,' )
38
+ }
39
+ }
40
+
32
41
tasks. named(" yamlRestTestV7CompatTransform" ). configure { task ->
33
42
task. skipTest(" indices.analyze/10_analyze/htmlStrip_deprecated" , " Cleanup versioned deprecations in analysis #41560" )
34
43
task. skipTest(" analysis-common/40_token_filters/delimited_payload_filter_error" , " Remove preconfigured delimited_payload_filter #43686" )
You can’t perform that action at this time.
0 commit comments