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


##########
group-coordinator/src/test/java/org/apache/kafka/coordinator/group/GroupCoordinatorConfigTest.java:
##########
@@ -206,39 +190,6 @@ public void 
testConsumerGroupAssignorsWithDuplicateNamesFails() {
             assertThrows(ConfigException.class, () -> 
createConfig(configs)).getMessage());
     }
 
-    @Test
-    public void testConsumerGroupAssignorsWithReservedBuiltinNameFails() {
-        // A custom assignor must not take the name of a built-in, whether or 
not the built-in is
-        // itself configured: a member selecting that name would otherwise 
silently get the custom one.
-        Map<String, Object> configs = new HashMap<>();
-        configs.put(GroupCoordinatorConfig.CONSUMER_GROUP_ASSIGNORS_CONFIG, 
UniformNamedAssignor.class.getName());
-        assertEquals("Invalid value " + UniformNamedAssignor.class.getName() +
-                " for configuration group.consumer.assignors: Assignor name 
'uniform' is reserved by a " +
-                "built-in assignor. A custom assignor must not reuse the name 
of a built-in assignor",
-            assertThrows(ConfigException.class, () -> 
createConfig(configs)).getMessage());
-
-        configs.put(GroupCoordinatorConfig.CONSUMER_GROUP_ASSIGNORS_CONFIG,
-            List.of("uniform", UniformNamedAssignor.class.getName()));
-        assertEquals("Invalid value " + UniformNamedAssignor.class.getName() +
-                " for configuration group.consumer.assignors: Assignor name 
'uniform' is reserved by a " +
-                "built-in assignor. A custom assignor must not reuse the name 
of a built-in assignor",
-            assertThrows(ConfigException.class, () -> 
createConfig(configs)).getMessage());
-    }
-
-    @Test
-    public void testConsumerGroupAssignorsBuiltinByClassName() {

Review Comment:
   We could keep this test case, right?



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