cmccabe commented on a change in pull request #9032: URL: https://github.com/apache/kafka/pull/9032#discussion_r479554324
########## File path: core/src/test/scala/integration/kafka/api/SaslClientsWithInvalidCredentialsTest.scala ########## @@ -248,4 +250,25 @@ class SaslClientsWithInvalidCredentialsTest extends IntegrationTestHarness with producerConfig.put(ProducerConfig.ENABLE_IDEMPOTENCE_CONFIG, "true") createProducer() } + + private def createScramAdminClient(user: String, password: String): Admin = { Review comment: It feels like we are accumulating a lot of these "create an admin client, but with SCRAM" functions. Since all these tests ultimately subclass SaslSetup, can't we have a common function there? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org