nizhikov commented on PR #14320:
URL: https://github.com/apache/kafka/pull/14320#issuecomment-1941286538

   Hello @showuon 
   
   I struggle with `SslAdminIntegrationTest` failures.
   This test count socket threads and fails on unexpected count:
   
   I fixed `DeleteTopicTest` that don't invoke `shutdown` for kraft resources 
when overwrites them. 
   
   Not sure if `DeleteTopicTest` fix are fixing these tests, also.
   
   ```
     private def blockedRequestThreads: List[Thread] = {
       val requestThreads = Thread.getAllStackTraces.keySet.asScala
         .filter(_.getName.contains("data-plane-kafka-request-handler"))
       assertEquals(numRequestThreads, requestThreads.size)
       requestThreads.filter(_.getState == Thread.State.WAITING).toList
     }
   
     private def numRequestThreads = servers.head.config.numIoThreads * 
servers.size
   
     private def waitForNoBlockedRequestThreads(): Unit = {
       val (blockedThreads, _) = 
TestUtils.computeUntilTrue(blockedRequestThreads)(_.isEmpty)
       assertEquals(List.empty, blockedThreads)
     }
   ```
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to