fix explainlifecyclerequesttest
This commit is contained in:
parent
59ea407333
commit
2fae7a2ff5
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue