[TEST] Mute ChangePolicyForIndexIT#testChangePolicyForIndex
@@ -52,6 +52,7 @@ public class ChangePolicyforIndexIT extends ESRestTestCase {
* settings from the second policy are set ont he index (proving the second
* policy was used for the warm phase)
*/
+ @AwaitsFix(bugUrl="https://github.com/elastic/elasticsearch/issues/35244")
public void testChangePolicyForIndex() throws Exception {
String indexName = "test-000001";
// create policy_1 and policy_2
@@ -130,6 +131,11 @@ public class ChangePolicyforIndexIT extends ESRestTestCase {
assertEquals("node-1,node-2", includesAllocation);
}
+ public void testTempAwaitFix() {
+ // this is a test stub since there is only one test in this class and it is
+ // awaits-fixed. This test is to be removed once testChangePolicyForIndex is resolved
+ }
+
private void assertStep(String indexName, StepKey expectedStep) throws IOException {
Response explainResponse = client().performRequest(new Request("GET", "/" + indexName + "/_ilm/explain"));
assertOK(explainResponse);
