We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3657f75 commit 9c8d7a4Copy full SHA for 9c8d7a4
server/src/test/java/org/elasticsearch/cluster/metadata/MetaDataTests.java
@@ -416,7 +416,7 @@ private static CoordinationMetaData.VotingConfiguration randomVotingConfig() {
416
}
417
418
private Set<VotingTombstone> randomVotingTombstones() {
419
- final int size = randomIntBetween(1, 10);
+ final int size = randomIntBetween(0, 10);
420
final Set<VotingTombstone> nodes = new HashSet<>(size);
421
while (nodes.size() < size) {
422
assertTrue(nodes.add(new VotingTombstone(randomAlphaOfLength(10), randomAlphaOfLength(10))));
0 commit comments