Fix ResizeResponseTests randomization

This commit is contained in:
Alan Woodward 2019-11-13 11:49:49 +00:00
parent 4405042900
commit f0e386d60d
1 changed files with 2 additions and 1 deletions

View File

@ -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