Increase the sample space for random inner hits name generator
This commits changes the minimum length for inner hits
name to avoid name collision which sometimes failed the
test.
@@ -146,7 +146,7 @@ public class InnerHitBuilderTests extends ESTestCase {
}
public static InnerHitBuilder randomInnerHits() {
InnerHitBuilder innerHits = new InnerHitBuilder();
- innerHits.setName(randomAlphaOfLengthBetween(1, 16));
+ innerHits.setName(randomAlphaOfLengthBetween(5, 16));
innerHits.setFrom(randomIntBetween(0, 32));
innerHits.setSize(randomIntBetween(0, 32));
innerHits.setExplain(randomBoolean());
