From f0e386d60dab842cc690a75ac819071fee2572e0 Mon Sep 17 00:00:00 2001 From: Alan Woodward Date: Wed, 13 Nov 2019 11:49:49 +0000 Subject: [PATCH] Fix ResizeResponseTests randomization --- .../org/elasticsearch/client/indices/ResizeResponseTests.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/rest-high-level/src/test/java/org/elasticsearch/client/indices/ResizeResponseTests.java b/client/rest-high-level/src/test/java/org/elasticsearch/client/indices/ResizeResponseTests.java index 87079c06a80..944b5697e55 100644 --- a/client/rest-high-level/src/test/java/org/elasticsearch/client/indices/ResizeResponseTests.java +++ b/client/rest-high-level/src/test/java/org/elasticsearch/client/indices/ResizeResponseTests.java @@ -30,7 +30,8 @@ public class ResizeResponseTests extends @Override protected org.elasticsearch.action.admin.indices.shrink.ResizeResponse createServerTestInstance(XContentType xContentType) { - return new org.elasticsearch.action.admin.indices.shrink.ResizeResponse(randomBoolean(), randomBoolean(), randomAlphaOfLength(5)); + boolean acked = randomBoolean(); + return new org.elasticsearch.action.admin.indices.shrink.ResizeResponse(acked, acked, randomAlphaOfLength(5)); } @Override