You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2021/10/09 08:00:17 UTC

[dubbo] branch 3.0 updated: update curator version to 4.2.0 for zk 3.4.13 (#8994)

This is an automated email from the ASF dual-hosted git repository.

albumenj pushed a commit to branch 3.0
in repository https://gitbox.apache.org/repos/asf/dubbo.git


The following commit(s) were added to refs/heads/3.0 by this push:
     new c261f7d  update curator version to 4.2.0 for zk 3.4.13 (#8994)
c261f7d is described below

commit c261f7d19bc840c1a66661de79d78da25b24e87f
Author: zrlw <zr...@sina.com>
AuthorDate: Sat Oct 9 16:00:08 2021 +0800

    update curator version to 4.2.0 for zk 3.4.13 (#8994)
---
 dubbo-dependencies-bom/pom.xml                                    | 2 +-
 .../org/apache/dubbo/remoting/transport/netty/ThreadNameTest.java | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/dubbo-dependencies-bom/pom.xml b/dubbo-dependencies-bom/pom.xml
index ee2e745..f54354d 100644
--- a/dubbo-dependencies-bom/pom.xml
+++ b/dubbo-dependencies-bom/pom.xml
@@ -100,7 +100,7 @@
         <httpcore_version>4.4.6</httpcore_version>
         <fastjson_version>1.2.70</fastjson_version>
         <zookeeper_version>3.4.13</zookeeper_version>
-        <curator_version>4.1.0</curator_version>
+        <curator_version>4.2.0</curator_version>
         <curator_test_version>2.12.0</curator_test_version>
         <jedis_version>3.6.0</jedis_version>
         <consul_version>1.4.2</consul_version>
diff --git a/dubbo-remoting/dubbo-remoting-netty/src/test/java/org/apache/dubbo/remoting/transport/netty/ThreadNameTest.java b/dubbo-remoting/dubbo-remoting-netty/src/test/java/org/apache/dubbo/remoting/transport/netty/ThreadNameTest.java
index 7c1b310..6367b9e 100644
--- a/dubbo-remoting/dubbo-remoting-netty/src/test/java/org/apache/dubbo/remoting/transport/netty/ThreadNameTest.java
+++ b/dubbo-remoting/dubbo-remoting-netty/src/test/java/org/apache/dubbo/remoting/transport/netty/ThreadNameTest.java
@@ -122,26 +122,26 @@ public class ThreadNameTest {
 
         @Override
         public void disconnected(Channel channel) throws RemotingException {
+            // client: DubboClientHandler thread, server: DubboServerHandler or DubboSharedHandler thread.
             output("disconnected");
-            checkThreadName();
         }
 
         @Override
         public void sent(Channel channel, Object message) throws RemotingException {
+            // main thread.
             output("sent");
-            checkThreadName();
         }
 
         @Override
         public void received(Channel channel, Object message) throws RemotingException {
+            // server: DubboServerHandler or DubboSharedHandler thread. 
             output("received");
-            checkThreadName();
         }
 
         @Override
         public void caught(Channel channel, Throwable exception) throws RemotingException {
+            // client: DubboClientHandler thread, server: ?
             output("caught");
-            checkThreadName();
         }
     }