You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ni...@apache.org on 2018/02/14 13:10:04 UTC

[incubator-servicecomb-java-chassis] 02/04: [SCB-294]when send a request to a not exist microservice, edge will always try to find instances of it

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

ningjiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-servicecomb-java-chassis.git

commit 3200c13b6fd2d78e8104882e708832ed8f93c1e2
Author: bao.liu <ba...@huawei.com>
AuthorDate: Wed Feb 7 14:22:23 2018 +0800

    [SCB-294]when send a request to a not exist microservice, edge will always try to find instances of it
---
 .../servicecomb/serviceregistry/consumer/TestMicroserviceManager.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/service-registry/src/test/java/org/apache/servicecomb/serviceregistry/consumer/TestMicroserviceManager.java b/service-registry/src/test/java/org/apache/servicecomb/serviceregistry/consumer/TestMicroserviceManager.java
index a703f04..046621b 100644
--- a/service-registry/src/test/java/org/apache/servicecomb/serviceregistry/consumer/TestMicroserviceManager.java
+++ b/service-registry/src/test/java/org/apache/servicecomb/serviceregistry/consumer/TestMicroserviceManager.java
@@ -90,7 +90,7 @@ public class TestMicroserviceManager {
   }
 
   @Test
-  public void testCreateRuleServiceNotExists() throws Exception {
+  public void testCreateRuleServiceTooMany() throws Exception {
     new Expectations(RegistryUtils.class) {
       {
         RegistryUtils.findServiceInstances(appId, anyString, DefinitionConst.VERSION_RULE_ALL, null);
@@ -117,7 +117,7 @@ public class TestMicroserviceManager {
   }
 
   @Test
-  public void testCreateRuleServiceMany() {
+  public void testCreateRuleServiceNotExists() {
     new Expectations(RegistryUtils.class) {
       {
         RegistryUtils.findServiceInstances(appId, serviceName, DefinitionConst.VERSION_RULE_ALL, null);

-- 
To stop receiving notification emails like this one, please contact
ningjiang@apache.org.