[
https://issues.apache.org/jira/browse/KAFKA-20192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dmitry Werner reassigned KAFKA-20192:
-------------------------------------
Assignee: Dmitry Werner
> Brittle logic in ReconfigurableQuorumIntegrationTest
> ----------------------------------------------------
>
> Key: KAFKA-20192
> URL: https://issues.apache.org/jira/browse/KAFKA-20192
> Project: Kafka
> Issue Type: Improvement
> Reporter: Mickael Maison
> Assignee: Dmitry Werner
> Priority: Major
>
> A few tests in ReconfigurableQuorumIntegrationTest add KRaft voters. They
> provide "Set.of(new RaftVoterEndpoint("CONTROLLER", "example.com", 8080))" as
> the 3rd argument of admin.addRaftVoter().
> This argument is the endpoints the leader should use to retrieve details of
> the new voter. So example.com:8080 should not work and instead localhost with
> the correct port should be used to mimic a real usage.
> The tests happen to work just because we previously removed a voter with the
> same node id and the network client still has a cached nio channel, so it
> does not use the provided endpoint to send requests to the new voter.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)