cmccabe commented on code in PR #12455:
URL: https://github.com/apache/kafka/pull/12455#discussion_r932718618
##########
core/src/test/scala/integration/kafka/server/DynamicBrokerReconfigurationTest.scala:
##########
@@ -431,7 +457,7 @@ class DynamicBrokerReconfigurationTest extends
QuorumTestHarness with SaslSetup
}
def verifyBrokerToControllerCall(controller: KafkaServer): Unit = {
- val nonControllerBroker = servers.find(_.config.brokerId !=
controller.config.brokerId).get
+ val nonControllerBroker = servers.find(_.config.brokerId !=
controller.config.brokerId).get.asInstanceOf[KafkaServer]
Review Comment:
is this typecast needed?
--
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]