Skip to content

Commit 5cace0f

Browse files
authored
[ML] Temporarily ignore inference index (#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 #114748
1 parent 9b46608 commit 5cace0f

File tree

2 files changed

+2
-39
lines changed

2 files changed

+2
-39
lines changed

muted-tests.yml

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -306,57 +306,18 @@ tests:
306306
- class: org.elasticsearch.smoketest.DocsClientYamlTestSuiteIT
307307
method: test {yaml=reference/rest-api/usage/line_38}
308308
issue: https://github.com/elastic/elasticsearch/issues/113694
309-
- class: org.elasticsearch.xpack.enrich.EnrichRestIT
310-
method: test {p0=enrich/10_basic/Test using the deprecated elasticsearch_version field results in a warning}
311-
issue: https://github.com/elastic/elasticsearch/issues/114748
312309
- class: org.elasticsearch.xpack.eql.EqlRestIT
313310
method: testIndexWildcardPatterns
314311
issue: https://github.com/elastic/elasticsearch/issues/114749
315-
- class: org.elasticsearch.xpack.eql.EqlRestIT
316-
method: testBadRequests
317-
issue: https://github.com/elastic/elasticsearch/issues/114752
318-
- class: org.elasticsearch.xpack.enrich.EnrichRestIT
319-
method: test {p0=enrich/20_standard_index/enrich stats REST response structure}
320-
issue: https://github.com/elastic/elasticsearch/issues/114753
321-
- class: org.elasticsearch.xpack.enrich.EnrichRestIT
322-
method: test {p0=enrich/30_tsdb_index/enrich documents over _bulk}
323-
issue: https://github.com/elastic/elasticsearch/issues/114761
324-
- class: org.elasticsearch.xpack.enrich.EnrichRestIT
325-
method: test {p0=enrich/20_standard_index/enrich documents over _bulk via an alias}
326-
issue: https://github.com/elastic/elasticsearch/issues/114763
327-
- class: org.elasticsearch.xpack.enrich.EnrichRestIT
328-
method: test {p0=enrich/10_basic/Test enrich crud apis}
329-
issue: https://github.com/elastic/elasticsearch/issues/114766
330-
- class: org.elasticsearch.xpack.enrich.EnrichRestIT
331-
method: test {p0=enrich/20_standard_index/enrich documents over _bulk}
332-
issue: https://github.com/elastic/elasticsearch/issues/114768
333-
- class: org.elasticsearch.xpack.enrich.EnrichRestIT
334-
method: test {p0=enrich/50_data_stream/enrich documents over _bulk via a data stream}
335-
issue: https://github.com/elastic/elasticsearch/issues/114769
336-
- class: org.elasticsearch.xpack.eql.EqlRestValidationIT
337-
method: testDefaultIndicesOptions
338-
issue: https://github.com/elastic/elasticsearch/issues/114771
339312
- class: org.elasticsearch.xpack.enrich.EnrichIT
340313
method: testEnrichSpecialTypes
341314
issue: https://github.com/elastic/elasticsearch/issues/114773
342315
- class: org.elasticsearch.xpack.security.operator.OperatorPrivilegesIT
343316
method: testEveryActionIsEitherOperatorOnlyOrNonOperator
344317
issue: https://github.com/elastic/elasticsearch/issues/102992
345-
- class: org.elasticsearch.xpack.enrich.EnrichIT
346-
method: testDeleteExistingPipeline
347-
issue: https://github.com/elastic/elasticsearch/issues/114775
348318
- class: org.elasticsearch.xpack.inference.rest.ServerSentEventsRestActionListenerTests
349319
method: testNoStream
350320
issue: https://github.com/elastic/elasticsearch/issues/114788
351-
- class: org.elasticsearch.xpack.eql.EqlRestValidationIT
352-
method: testAllowNoIndicesOption
353-
issue: https://github.com/elastic/elasticsearch/issues/114789
354-
- class: org.elasticsearch.xpack.eql.EqlStatsIT
355-
method: testEqlRestUsage
356-
issue: https://github.com/elastic/elasticsearch/issues/114790
357-
- class: org.elasticsearch.xpack.eql.EqlRestIT
358-
method: testUnicodeChars
359-
issue: https://github.com/elastic/elasticsearch/issues/114791
360321
- class: org.elasticsearch.ingest.geoip.HttpClientTests
361322
issue: https://github.com/elastic/elasticsearch/issues/112618
362323
- class: org.elasticsearch.xpack.remotecluster.RemoteClusterSecurityWithApmTracingRestIT

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
@@ -1121,6 +1121,8 @@ protected static void wipeAllIndices(boolean preserveSecurityIndices) throws IOE
11211121
if (preserveSecurityIndices) {
11221122
indexPatterns.add("-.security-*");
11231123
}
1124+
// always preserve inference index
1125+
indexPatterns.add("-.inference");
11241126
final Request deleteRequest = new Request("DELETE", Strings.collectionToCommaDelimitedString(indexPatterns));
11251127
deleteRequest.addParameter("expand_wildcards", "open,closed,hidden");
11261128
final Response response = adminClient().performRequest(deleteRequest);

0 commit comments

Comments
 (0)