chia7712 commented on code in PR #15830:
URL: https://github.com/apache/kafka/pull/15830#discussion_r1617053123


##########
core/src/test/scala/unit/kafka/admin/AclCommandTest.scala:
##########
@@ -122,19 +128,27 @@ class AclCommandTest extends QuorumTestHarness with 
Logging {
     super.tearDown()
   }
 
+  override protected def kraftControllerConfigs(): Seq[Properties] = {
+    val controllerConfig = new Properties
+    controllerConfig.put(KafkaConfig.AuthorizerClassNameProp, 
classOf[StandardAuthorizer].getName)
+    controllerConfig.put(StandardAuthorizer.SUPER_USERS_CONFIG, 
"User:ANONYMOUS")
+    Seq(controllerConfig)
+  }
+
   @Test
   def testAclCliWithAuthorizer(): Unit = {
     testAclCli(zkArgs)
   }
 
-  @Test
-  def testAclCliWithAdminAPI(): Unit = {
+  @ParameterizedTest
+  @ValueSource(strings = Array("zk"))

Review Comment:
   > Just wondering, do we need to check this main output at all?
   
   from the testing we can know that output "Current ACLs" could be out-of-date 
information. +1 to your previous changes that removing `listAcls` from 
`removeAcls` and `addAcls` in order to avoid confusing users.



-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to