[
https://issues.apache.org/jira/browse/KAFKA-17055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
José Armando García Sancio updated KAFKA-17055:
-----------------------------------------------
Fix Version/s: 3.9.0
> 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
> Assignee: Mason Chen
> Priority: Major
> Fix For: 3.9.0
>
>
> 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)