From 4c28e781ddcdc7489d2dec25e0a3488253bff2bf Mon Sep 17 00:00:00 2001 From: Jason Tedor Date: Sun, 18 Jun 2017 15:32:43 -0400 Subject: [PATCH] Fix failing delete index test This test is failing because delete /{index} requests no longer support index matching an alias. This commit removes testing such requests again aliases. Closes #25284 --- .../test/java/org/elasticsearch/action/IndicesRequestIT.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/src/test/java/org/elasticsearch/action/IndicesRequestIT.java b/core/src/test/java/org/elasticsearch/action/IndicesRequestIT.java index cf2aa00f8be..6c20e63545f 100644 --- a/core/src/test/java/org/elasticsearch/action/IndicesRequestIT.java +++ b/core/src/test/java/org/elasticsearch/action/IndicesRequestIT.java @@ -119,7 +119,6 @@ import static org.hamcrest.Matchers.greaterThan; import static org.hamcrest.Matchers.hasItem; @ClusterScope(scope = Scope.SUITE, numClientNodes = 1, minNumDataNodes = 2) -@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/25284") public class IndicesRequestIT extends ESIntegTestCase { private final List indices = new ArrayList<>(); @@ -488,7 +487,7 @@ public class IndicesRequestIT extends ESIntegTestCase { public void testDeleteIndex() { interceptTransportActions(DeleteIndexAction.NAME); - String[] randomIndicesOrAliases = randomUniqueIndicesOrAliases(); + String[] randomIndicesOrAliases = randomUniqueIndices(); DeleteIndexRequest deleteIndexRequest = new DeleteIndexRequest(randomIndicesOrAliases); assertAcked(internalCluster().coordOnlyNodeClient().admin().indices().delete(deleteIndexRequest).actionGet());