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


##########
tools/src/test/java/org/apache/kafka/tools/AclCommandTest.java:
##########
@@ -220,7 +220,17 @@ public void 
testAclCliWithMisusingBootstrapServerToController(ClusterInstance cl
 
     @ClusterTest
     public void 
testAclCliWithMisusingBootstrapControllerToServer(ClusterInstance cluster) {
-        assertThrows(RuntimeException.class, () -> testAclCli(cluster, 
adminArgs(cluster.bootstrapControllers(), Optional.empty())));
+        Exit.setExitProcedure((status, message) -> {

Review Comment:
   Should we apply this approach to `callMain` to benefit all tests?



-- 
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]

Reply via email to