dajac commented on code in PR #17057:
URL: https://github.com/apache/kafka/pull/17057#discussion_r1738610295


##########
core/src/test/java/kafka/test/ClusterTestExtensionsTest.java:
##########
@@ -191,45 +189,17 @@ public void testDefaults(ClusterInstance clusterInstance) 
{
         Assertions.assertEquals(MetadataVersion.latestTesting(), 
clusterInstance.config().metadataVersion());
     }
 
-    @ClusterTests({
-        @ClusterTest(types = {Type.KRAFT, Type.CO_KRAFT}, serverProperties = {
-            @ClusterConfigProperty(key = 
GROUP_COORDINATOR_REBALANCE_PROTOCOLS_CONFIG, value = "classic,consumer"),
-        }),
-        @ClusterTest(types = {Type.KRAFT, Type.CO_KRAFT}, serverProperties = {
-            @ClusterConfigProperty(key = NEW_GROUP_COORDINATOR_ENABLE_CONFIG, 
value = "true"),
-            @ClusterConfigProperty(key = 
GROUP_COORDINATOR_REBALANCE_PROTOCOLS_CONFIG, value = "classic,consumer"),
-        })
-    })
+    @ClusterTest(types = {Type.KRAFT, Type.CO_KRAFT})
     public void testSupportedNewGroupProtocols(ClusterInstance 
clusterInstance) {
         Set<GroupProtocol> supportedGroupProtocols = new HashSet<>();
         supportedGroupProtocols.add(CLASSIC);
         supportedGroupProtocols.add(CONSUMER);
-        
Assertions.assertTrue(clusterInstance.supportedGroupProtocols().containsAll(supportedGroupProtocols));
-        Assertions.assertEquals(2, 
clusterInstance.supportedGroupProtocols().size());
+        Assertions.assertEquals(supportedGroupProtocols, 
clusterInstance.supportedGroupProtocols());
     }
 
-    @ClusterTests({
-        @ClusterTest(types = {Type.ZK, Type.KRAFT, Type.CO_KRAFT}, 
serverProperties = {
-            @ClusterConfigProperty(key = NEW_GROUP_COORDINATOR_ENABLE_CONFIG, 
value = "true"),
-        }),
-        @ClusterTest(types = {Type.ZK, Type.KRAFT, Type.CO_KRAFT}, 
serverProperties = {
-            @ClusterConfigProperty(key = NEW_GROUP_COORDINATOR_ENABLE_CONFIG, 
value = "false"),
-        }),
-        @ClusterTest(types = {Type.ZK, Type.KRAFT, Type.CO_KRAFT}, 
serverProperties = {

Review Comment:
   It did not work with my implementation but it would work with yours. Let me 
bring it back.



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