You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2022/04/25 08:27:07 UTC

[GitHub] [dubbo] guohao commented on a diff in pull request #9954: [3.0 Triple] Optimize Connection

guohao commented on code in PR #9954:
URL: https://github.com/apache/dubbo/pull/9954#discussion_r857377399


##########
dubbo-remoting/dubbo-remoting-api/src/test/java/org/apache/dubbo/remoting/api/ConnectionTest.java:
##########
@@ -88,4 +90,43 @@ public void connectSyncTest() throws Throwable {
 
 
     }
+
+    @Test
+    public void testMultiConnect() {
+        int port = NetUtils.getAvailablePort();
+        URL url = URL.valueOf("empty://127.0.0.1:" + port + "?foo=bar");
+        PortUnificationServer server = null;
+        try {
+            server = new PortUnificationServer(url);
+            server.bind();
+
+            Connection connection = new Connection(url);
+            ExecutorService service = Executors.newFixedThreadPool(10);

Review Comment:
   close it



-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org