jolshan commented on code in PR #24092:
URL: https://github.com/apache/kafka/pull/24092#discussion_r4483456359
##########
core/src/test/scala/unit/kafka/server/MetadataCacheTest.scala:
##########
@@ -982,6 +982,54 @@ class MetadataCacheTest {
assertTrue(fencedBroker.isFenced)
}
+ @Test def testGetPartitionLeaderEndpointForKnownPartitionWithoutEndpoint():
Unit = {
+ val metadataCache = new KRaftMetadataCache(0, () =>
KRaftVersion.KRAFT_VERSION_0)
Review Comment:
It's functionally equivalent and clunky to me but I can switch it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]