Skip to content

Commit 50dfaab

Browse files
prwhelandavidkyle
authored andcommitted
[ML] Temporarily ignore inference index (elastic#114928)
Until we can figure out where in the tests the index is being created, temporarily ignore deleting it along with the other system indices. Relates elastic#114748 # Conflicts: # muted-tests.yml
1 parent 91e1e02 commit 50dfaab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1149,6 +1149,8 @@ protected static void wipeAllIndices(boolean preserveSecurityIndices) throws IOE
11491149
if (preserveSecurityIndices) {
11501150
indexPatterns.add("-.security-*");
11511151
}
1152+
// always preserve inference index see https://github.com/elastic/elasticsearch/issues/114748
1153+
indexPatterns.add("-.inference");
11521154
final Request deleteRequest = new Request("DELETE", Strings.collectionToCommaDelimitedString(indexPatterns));
11531155
deleteRequest.addParameter("expand_wildcards", "open,closed" + (includeHidden ? ",hidden" : ""));
11541156
final Response response = adminClient().performRequest(deleteRequest);

0 commit comments

Comments
 (0)