[ https://issues.apache.org/jira/browse/KAFKA-17055 ]
Mason C deleted comment on KAFKA-17055: --------------------------------- was (Author: JIRAUSER302343): Hi [~jsancio] I would like to pick this up :) > Use random replica ids in KafkaRaftClientTest and KafkaRaftClientSnapshotTest > ----------------------------------------------------------------------------- > > Key: KAFKA-17055 > URL: https://issues.apache.org/jira/browse/KAFKA-17055 > Project: Kafka > Issue Type: Sub-task > Reporter: José Armando García Sancio > Priority: Major > > All of the tests in KafkakRaftClientTest and KafkaRaftClientSnapshotTest use > well known ids like 0, 1, etc. Because of this those tests were not able to > catch a bug in the BeginQuorumEpoch schema were the default value for VoterId > was 0 instead of -1. > Improve those tests by using random positive numbers to lower the probability > that they will match the default value of a schema. -- This message was sent by Atlassian Jira (v8.20.10#820010)