Skip to content

Commit c5beb05

Browse files
committed
[ML][DataFrame] Consider data frame templates internal in REST tests (elastic#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 3636035 commit c5beb05

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
@@ -938,6 +938,9 @@ private static boolean isXPackTemplate(String name) {
938938
if (name.startsWith(".watch") || name.startsWith(".triggered_watches")) {
939939
return true;
940940
}
941+
if (name.startsWith(".data-frame-")) {
942+
return true;
943+
}
941944
if (name.startsWith(".ml-")) {
942945
return true;
943946
}

0 commit comments

Comments
 (0)