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

liujun pushed a commit to branch dev-metadata
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo.git


The following commit(s) were added to refs/heads/dev-metadata by this push:
     new aef5bb7  Adjust test class, remove version
aef5bb7 is described below

commit aef5bb73b95215aabb0fe3844e866de93ed7defc
Author: ken.lj <[email protected]>
AuthorDate: Wed Oct 17 15:16:54 2018 +0800

    Adjust test class, remove version
---
 .../apache/dubbo/rpc/cluster/router/ConfigConditionRouterTest.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/dubbo-cluster/src/test/java/org/apache/dubbo/rpc/cluster/router/ConfigConditionRouterTest.java
 
b/dubbo-cluster/src/test/java/org/apache/dubbo/rpc/cluster/router/ConfigConditionRouterTest.java
index b545f8e..214b90b 100644
--- 
a/dubbo-cluster/src/test/java/org/apache/dubbo/rpc/cluster/router/ConfigConditionRouterTest.java
+++ 
b/dubbo-cluster/src/test/java/org/apache/dubbo/rpc/cluster/router/ConfigConditionRouterTest.java
@@ -90,14 +90,14 @@ public class ConfigConditionRouterTest {
                 "runtime: true\n" +
                 "enabled: true\n" +
                 "priority: 1\n" +
-                "key: org.apache.dubbo.demo.DemoService:1.0.2\n" +
+                "key: org.apache.dubbo.demo.DemoService\n" +
                 "conditions:\n" +
                 "  - method!=sayHello =>\n" +
                 "  - method=routeMethod1 => address=30.5.120.37:20880\n" +
                 "...";
 //        String serviceStr = "";
         try {
-            String servicePath = 
"/dubbo/config/org.apache.dubbo.demo.DemoService:1.0.2/routers";
+            String servicePath = 
"/dubbo/config/org.apache.dubbo.demo.DemoService/routers";
             if (client.checkExists().forPath(servicePath) == null) {
                 client.create().creatingParentsIfNeeded().forPath(servicePath);
             }

Reply via email to