diff --git a/clients/src/test/java/org/apache/kafka/clients/consumer/KafkaConsumerTest.java b/clients/src/test/java/org/apache/kafka/clients/consumer/KafkaConsumerTest.java index cfe4d03e6a84b..e1351e392eaed 100644 --- a/clients/src/test/java/org/apache/kafka/clients/consumer/KafkaConsumerTest.java +++ b/clients/src/test/java/org/apache/kafka/clients/consumer/KafkaConsumerTest.java @@ -3195,8 +3195,9 @@ private void prepareJoinGroupAndVerifyReason( // TODO: this test triggers a bug with the CONSUMER group protocol implementation. // The bug will be investigated and fixed so this test can use both group protocols. @ParameterizedTest - @EnumSource(value = GroupProtocol.class, names = "CLASSIC") + @EnumSource(value = GroupProtocol.class) public void configurableObjectsShouldSeeGeneratedClientId(GroupProtocol groupProtocol) { + CLIENT_IDS.clear(); Properties props = new Properties(); props.put(ConsumerConfig.GROUP_PROTOCOL_CONFIG, groupProtocol.name()); props.put(ConsumerConfig.BOOTSTRAP_SERVERS_CONFIG, "localhost:9999");