Skip to content

Commit

Permalink
Increase the sample space for random inner hits name generator (#42057)…
Browse files Browse the repository at this point in the history
… (#42076)

This commits changes the minimum length for inner hits
name to avoid name collision which sometimes failed the
test.
  • Loading branch information
bizybot committed May 30, 2019
1 parent bb3dddd commit 0469477
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public static InnerHitBuilder randomNestedInnerHits() {
}
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());
Expand Down

0 comments on commit 0469477

Please sign in to comment.