From 457c49c3322887a249592b7e9a888298b7a930f8 Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Mon, 6 Nov 2017 10:38:21 +0000 Subject: [PATCH] Apply Renames from split shards (elastic/x-pack-elasticsearch#2716) XPack side of elastic/elasticsearch#26931 Original commit: elastic/x-pack-elasticsearch@6e7c3d42424dc4f0c403dc23542f0092715fbdcc --- .../elasticsearch/integration/ShrinkIndexWithSecurityTests.java | 2 +- plugin/src/test/resources/org/elasticsearch/transport/actions | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin/src/test/java/org/elasticsearch/integration/ShrinkIndexWithSecurityTests.java b/plugin/src/test/java/org/elasticsearch/integration/ShrinkIndexWithSecurityTests.java index e8db61c2975..87db72bcf02 100644 --- a/plugin/src/test/java/org/elasticsearch/integration/ShrinkIndexWithSecurityTests.java +++ b/plugin/src/test/java/org/elasticsearch/integration/ShrinkIndexWithSecurityTests.java @@ -50,7 +50,7 @@ public class ShrinkIndexWithSecurityTests extends SecurityIntegTestCase { // wait for green and then shrink ensureGreen(); - assertAcked(client().admin().indices().prepareShrinkIndex("bigindex", "shrunk_bigindex") + assertAcked(client().admin().indices().prepareResizeIndex("bigindex", "shrunk_bigindex") .setSettings(Settings.builder() .put("index.number_of_replicas", 0) .put("index.number_of_shards", 1) diff --git a/plugin/src/test/resources/org/elasticsearch/transport/actions b/plugin/src/test/resources/org/elasticsearch/transport/actions index 1c1d458af75..05f1f6f3a30 100644 --- a/plugin/src/test/resources/org/elasticsearch/transport/actions +++ b/plugin/src/test/resources/org/elasticsearch/transport/actions @@ -44,6 +44,7 @@ indices:admin/refresh indices:admin/settings/update indices:admin/shards/search_shards indices:admin/shrink +indices:admin/resize indices:admin/rollover indices:admin/template/delete indices:admin/template/get