Skip to content

Commit acfaccb

Browse files
committed
Adapt to upstream changes
Possilby after #61457, the priority we use for the index template that converts core yaml tests to use runtime fields is already taken, which causes an error as there ma be multiple matching templates with same priority.
1 parent 0284f3d commit acfaccb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/runtime-fields/qa/rest/src/yamlRestTest/java/org/elasticsearch/xpack/runtimefields/rest/CoreTestsWithRuntimeFieldsIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ public void execute(ClientYamlTestExecutionContext executionContext) throws IOEx
239239
List<Map<String, Object>> bodies = List.of(
240240
Map.ofEntries(
241241
Map.entry("index_patterns", "*"),
242-
Map.entry("priority", Integer.MAX_VALUE),
242+
Map.entry("priority", Integer.MAX_VALUE - 1),
243243
Map.entry("template", Map.of("settings", Map.of(), "mappings", Map.of("dynamic_templates", dynamicTemplates)))
244244
)
245245
);

0 commit comments

Comments
 (0)