fix explainlifecyclerequesttest

This commit is contained in:
Tal Levy 2018-06-12 14:47:39 -07:00
parent 59ea407333
commit 2fae7a2ff5
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ public class ExplainLifecycleRequestTests extends AbstractWireSerializingTestCas
protected Request createTestInstance() {
Request request = new Request();
if (randomBoolean()) {
request.indices(generateRandomStringArray(20, 20, false));
request.indices(generateRandomStringArray(20, 20, false, false));
}
if (randomBoolean()) {
IndicesOptions indicesOptions = IndicesOptions.fromOptions(randomBoolean(), randomBoolean(), randomBoolean(), randomBoolean(),
@ -35,7 +35,7 @@ public class ExplainLifecycleRequestTests extends AbstractWireSerializingTestCas
IndicesOptions indicesOptions = instance.indicesOptions();
switch (between(0, 1)) {
case 0:
indices = generateRandomStringArray(20, 10, false);
indices = generateRandomStringArray(20, 10, false, false);
break;
case 1:
indicesOptions = randomValueOtherThan(indicesOptions, () -> IndicesOptions.fromOptions(randomBoolean(), randomBoolean(),