junrao commented on code in PR #19293:
URL: https://github.com/apache/kafka/pull/19293#discussion_r2038411412


##########
core/src/test/scala/unit/kafka/server/AbstractApiVersionsRequestTest.scala:
##########
@@ -85,6 +85,9 @@ abstract class AbstractApiVersionsRequestTest(cluster: 
ClusterInstance) {
 
       assertEquals(0, 
apiVersionsResponse.data().supportedFeatures().find(EligibleLeaderReplicasVersion.FEATURE_NAME).minVersion())
       assertEquals(EligibleLeaderReplicasVersion.ELRV_1.featureLevel(), 
apiVersionsResponse.data().supportedFeatures().find(EligibleLeaderReplicasVersion.FEATURE_NAME).maxVersion())
+
+      assertEquals(0, 
apiVersionsResponse.data().supportedFeatures().find(ShareVersion.FEATURE_NAME).minVersion())
+      assertEquals(ShareVersion.SV_1.featureLevel(), 
apiVersionsResponse.data().supportedFeatures().find(ShareVersion.FEATURE_NAME).maxVersion())

Review Comment:
   Yes, I was just trying to understand where the test sets 
unstable.feature.versions.enable to true. It seems that this is done in 
`KafkaClusterTestKit`.



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