Test: Include ML ILM policy in EsRestTest (#54773)

This should avoid REST failures caused by the inability to delete said
policy
Fix #54759

(cherry picked from commit 3ba5e02b713c03b1bdf14e0367a2bce68c35dd30)
This commit is contained in:
Costin Leau 2020-04-05 20:04:10 +03:00 committed by Costin Leau
parent 184c038f59
commit a7c31a7632
1 changed files with 1 additions and 1 deletions

View File

@ -496,7 +496,7 @@ public abstract class ESRestTestCase extends ESTestCase {
* A set of ILM policies that should be preserved between runs.
*/
protected Set<String> preserveILMPolicyIds() {
return Sets.newHashSet("ilm-history-ilm-policy", "slm-history-ilm-policy", "watch-history-ilm-policy");
return Sets.newHashSet("ilm-history-ilm-policy", "slm-history-ilm-policy", "watch-history-ilm-policy", "ml-size-based-ilm-policy");
}
/**