diff --git a/client/rest-high-level/src/test/java/org/elasticsearch/client/IndexLifecycleIT.java b/client/rest-high-level/src/test/java/org/elasticsearch/client/IndexLifecycleIT.java index 3bed8279db6..661caccd7a2 100644 --- a/client/rest-high-level/src/test/java/org/elasticsearch/client/IndexLifecycleIT.java +++ b/client/rest-high-level/src/test/java/org/elasticsearch/client/IndexLifecycleIT.java @@ -140,7 +140,7 @@ public class IndexLifecycleIT extends ESRestHighLevelClientTestCase { " \"cold\": {\n" + " \"after\": \"2000s\",\n" + " \"actions\": {\n" + - " \"replicas\": {\n" + + " \"allocate\": {\n" + " \"number_of_replicas\": 0\n" + " }\n" + " }\n" +