Skip to content

Commit

Permalink
[TEST] Mute ChangePolicyForIndexIT#testChangePolicyForIndex
Browse files Browse the repository at this point in the history
  • Loading branch information
talevy committed Nov 6, 2018
1 parent 6e58284 commit 2bf843e
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -130,6 +131,11 @@ public void testChangePolicyForIndex() throws Exception {
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);
Expand Down

0 comments on commit 2bf843e

Please sign in to comment.