fix explainlifecyclerequesttest
This commit is contained in:
parent
59ea407333
commit
2fae7a2ff5
|
@ -19,7 +19,7 @@ public class ExplainLifecycleRequestTests extends AbstractWireSerializingTestCas
|
||||||
protected Request createTestInstance() {
|
protected Request createTestInstance() {
|
||||||
Request request = new Request();
|
Request request = new Request();
|
||||||
if (randomBoolean()) {
|
if (randomBoolean()) {
|
||||||
request.indices(generateRandomStringArray(20, 20, false));
|
request.indices(generateRandomStringArray(20, 20, false, false));
|
||||||
}
|
}
|
||||||
if (randomBoolean()) {
|
if (randomBoolean()) {
|
||||||
IndicesOptions indicesOptions = IndicesOptions.fromOptions(randomBoolean(), randomBoolean(), randomBoolean(), randomBoolean(),
|
IndicesOptions indicesOptions = IndicesOptions.fromOptions(randomBoolean(), randomBoolean(), randomBoolean(), randomBoolean(),
|
||||||
|
@ -35,7 +35,7 @@ public class ExplainLifecycleRequestTests extends AbstractWireSerializingTestCas
|
||||||
IndicesOptions indicesOptions = instance.indicesOptions();
|
IndicesOptions indicesOptions = instance.indicesOptions();
|
||||||
switch (between(0, 1)) {
|
switch (between(0, 1)) {
|
||||||
case 0:
|
case 0:
|
||||||
indices = generateRandomStringArray(20, 10, false);
|
indices = generateRandomStringArray(20, 10, false, false);
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
indicesOptions = randomValueOtherThan(indicesOptions, () -> IndicesOptions.fromOptions(randomBoolean(), randomBoolean(),
|
indicesOptions = randomValueOtherThan(indicesOptions, () -> IndicesOptions.fromOptions(randomBoolean(), randomBoolean(),
|
||||||
|
|
Loading…
Reference in New Issue