wernerdv commented on code in PR #15558:
URL: https://github.com/apache/kafka/pull/15558#discussion_r1534494595


##########
connect/mirror/src/test/java/org/apache/kafka/connect/mirror/MirrorSourceConnectorTest.java:
##########
@@ -224,6 +229,39 @@ public void testNoBrokerAclAuthorizer() throws Exception {
         verifyNoInteractions(targetAdmin);
     }
 
+    @Test
+    public void testMissingDescribeConfigsAcl() throws Exception {
+        Admin sourceAdmin = mock(Admin.class);
+        Admin targetAdmin = mock(Admin.class);
+        MirrorSourceConnector connector = new 
MirrorSourceConnector(sourceAdmin, targetAdmin);
+        Field configField = connector.getClass().getDeclaredField("config");

Review Comment:
   Added config to the arguments and used the constructor for testing.



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