You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2022/04/29 09:28:20 UTC
[GitHub] [iotdb] ericpai commented on a diff in pull request #5736: [IOTDB-3046] Fix port binding error in ClientManagerTest
ericpai commented on code in PR #5736:
URL: https://github.com/apache/iotdb/pull/5736#discussion_r861640427
##########
node-commons/src/test/java/org/apache/iotdb/commons/ClientManagerTest.java:
##########
@@ -408,7 +409,9 @@ public void InvalidAsyncClientReturnClientManagersTest() throws Exception {
}
public void startServer() throws IOException {
- metaServer = new ServerSocket(9003);
+ metaServer = new ServerSocket();
+ metaServer.setReuseAddress(true);
+ metaServer.bind(new InetSocketAddress(9003));
Review Comment:
Fixed.
--
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: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org