ijuma commented on a change in pull request #9746:
URL: https://github.com/apache/kafka/pull/9746#discussion_r559916764



##########
File path: 
core/src/test/scala/unit/kafka/server/AbstractApiVersionsRequestTest.scala
##########
@@ -52,9 +52,9 @@ abstract class AbstractApiVersionsRequestTest extends 
BaseRequestTest {
     if (listenerName == controlPlaneListenerName) {
       expectedApis.add(ApiKeys.ENVELOPE)
     }
-    assertEquals("API keys in ApiVersionsResponse must match API keys 
supported by broker.",
-      expectedApis.size(), apiVersionsResponse.data.apiKeys().size())
-    for (expectedApiVersion: ApiVersionsResponseData.ApiVersion <- 
ApiVersionsResponse.DEFAULT_API_VERSIONS_RESPONSE.data.apiKeys().asScala) {
+    assertEquals(expectedApis.size(), 
apiVersionsResponse.data.apiKeys().size(),
+      "API keys in ApiVersionsResponse must match API keys supported by 
broker.")
+      for (expectedApiVersion: ApiVersionsResponseData.ApiVersion <- 
ApiVersionsResponse.DEFAULT_API_VERSIONS_RESPONSE.data.apiKeys().asScala) {

Review comment:
       Indent change here seems unintentional.




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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to