Skip to content

Commit

Permalink
Fixing ReindexDataStreamStatusTests so that the in progress set max s…
Browse files Browse the repository at this point in the history
…ize is not less than min size
  • Loading branch information
masseyke committed Dec 18, 2024
1 parent dbbcb09 commit 4468ea4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ private List<String> randomList(int minSize) {
}

private Set<String> randomSet(int minSize) {
return randomSet(minSize, 100, () -> randomAlphaOfLength(50));
return randomSet(minSize, Math.max(minSize, 100), () -> randomAlphaOfLength(50));
}

private List<Tuple<String, Exception>> randomErrorList() {
Expand Down

0 comments on commit 4468ea4

Please sign in to comment.