Skip to content

Commit ed19edb

Browse files
authored
[ML][DataFrame] Consider data frame templates internal in REST tests (#43692)
The data frame index template pattern was not in the list considered as internal and therefore not needing cleanup after every test.
1 parent a4b97b6 commit ed19edb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/framework/src/main/java/org/elasticsearch/test/rest/ESRestTestCase.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -944,6 +944,9 @@ private static boolean isXPackTemplate(String name) {
944944
if (name.startsWith(".watch") || name.startsWith(".triggered_watches")) {
945945
return true;
946946
}
947+
if (name.startsWith(".data-frame-")) {
948+
return true;
949+
}
947950
if (name.startsWith(".ml-")) {
948951
return true;
949952
}

0 commit comments

Comments
 (0)