From 955cc10ee810510bf5ba524afb03c15deca08992 Mon Sep 17 00:00:00 2001 From: Lee Hinman Date: Tue, 1 Jun 2021 13:27:17 -0600 Subject: [PATCH] Add `data-streams-mappings` to isXPackTemplate method This template was added in #64978, however, there can be some test failures if we try to remove built-in templates. It was missing from the list and now needs to be added back. --- .../main/java/org/elasticsearch/test/rest/ESRestTestCase.java | 1 + 1 file changed, 1 insertion(+) diff --git a/test/framework/src/main/java/org/elasticsearch/test/rest/ESRestTestCase.java b/test/framework/src/main/java/org/elasticsearch/test/rest/ESRestTestCase.java index 37644e296dea0..beda1b7dcbce3 100644 --- a/test/framework/src/main/java/org/elasticsearch/test/rest/ESRestTestCase.java +++ b/test/framework/src/main/java/org/elasticsearch/test/rest/ESRestTestCase.java @@ -1507,6 +1507,7 @@ protected static boolean isXPackTemplate(String name) { case "ilm-history": case "logstash-index-template": case "security-index-template": + case "data-streams-mappings": return true; default: return false;