showuon commented on code in PR #14320:
URL: https://github.com/apache/kafka/pull/14320#discussion_r1312952812


##########
core/src/test/scala/unit/kafka/network/SocketServerTest.scala:
##########
@@ -94,6 +93,7 @@ class SocketServerTest {
 
   @BeforeEach
   def setUp(): Unit = {
+    server.enableRequestProcessing(Map.empty).get(1, TimeUnit.MINUTES)

Review Comment:
   `enableRequestProcessing` will start network thread to accept connection. 
Start it in `BeforeEach`, so that it won't be initialized unexpectedly.



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