We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bc8f27 commit 870655eCopy full SHA for 870655e
test/framework/src/main/java/org/elasticsearch/test/rest/ESRestTestCase.java
@@ -410,7 +410,12 @@ private void wipeCluster() throws Exception {
410
waitForPendingRollupTasks();
411
}
412
413
- if (hasXPack && false == preserveILMPoliciesUponCompletion()) {
+ /*
414
+ * ILM was introduced in 6.6 so any cluster that contains older
415
+ * nodes won't be able to do *anything* with ILM, including cleanup.
416
+ */
417
+ if (hasXPack && nodeVersions.first().onOrAfter(Version.V_6_6_0)
418
+ && false == preserveILMPoliciesUponCompletion()) {
419
deleteAllPolicies();
420
421
0 commit comments