chia7712 commented on code in PR #18337:
URL: https://github.com/apache/kafka/pull/18337#discussion_r1909099776
##########
test-common/src/main/java/org/apache/kafka/common/test/PreboundSocketFactoryManager.java:
##########
@@ -49,7 +49,18 @@ public ServerSocketChannel openServerSocket(
ServerSocketChannel socketChannel =
getSocketForListenerAndMarkAsUsed(
nodeId,
listenerName);
+
if (socketChannel != null) {
+ if (socketChannel.isOpen()) {
+ return socketChannel;
+ }
+ // bind the server socket with same port
Review Comment:
any updates?
--
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]