Rancho-7 commented on code in PR #19075:
URL: https://github.com/apache/kafka/pull/19075#discussion_r1977580342


##########
core/src/test/scala/integration/kafka/api/PlaintextAdminIntegrationTest.scala:
##########
@@ -1626,6 +1626,11 @@ class PlaintextAdminIntegrationTest extends 
BaseAdminIntegrationTest {
     val existingTopic = new ConfigResource(ConfigResource.Type.TOPIC, topic)
     
client.describeConfigs(Collections.singletonList(existingTopic)).values.get(existingTopic).get()
 
+    val defaultTopic = new ConfigResource(ConfigResource.Type.TOPIC, "")
+    val describeResult0 = 
client.describeConfigs(Collections.singletonList(defaultTopic))
+
+    assertTrue(assertThrows(classOf[ExecutionException], () => 
describeResult0.values.get(defaultTopic).get).getCause.isInstanceOf[InvalidTopicException])

Review Comment:
   Thanks for the review! I will try to fix it in this way.



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