File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
tests/Elasticsearch/Tests Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ private static function wipeCluster(Client $client): void
119
119
self ::wipeDataStreams ($ client );
120
120
}
121
121
122
- self ::wipeAllindices ($ client );
122
+ self ::wipeAllIndices ($ client );
123
123
124
124
if (getenv ('TEST_SUITE ' ) === 'xpack ' ) {
125
125
self ::wipeTemplateForXpack ($ client );
@@ -269,12 +269,12 @@ private static function wipeDataStreams(Client $client): void
269
269
/**
270
270
* Delete all indices
271
271
*
272
- * @see ESRestTestCase.java:wipeAllindices ()
272
+ * @see ESRestTestCase.java:wipeAllIndices ()
273
273
*/
274
- private static function wipeAllindices (Client $ client ): void
274
+ private static function wipeAllIndices (Client $ client ): void
275
275
{
276
276
$ client ->indices ()->delete ([
277
- 'index ' => '* ' ,
277
+ 'index ' => '*,-.ds-ilm-history-* ' ,
278
278
'expand_wildcards ' => 'all ' ,
279
279
'client ' => [
280
280
'ignore ' => 404
@@ -392,6 +392,7 @@ private static function isXPackTemplate(string $name): bool
392
392
case "synthetics-settings " :
393
393
case "synthetics-mappings " :
394
394
case ".snapshot-blob-cache " :
395
+ case ".deprecation-indexing-template " :
395
396
return true ;
396
397
}
397
398
return false ;
You can’t perform that action at this time.
0 commit comments