startjava commented on issue #8403:
URL: https://github.com/apache/dubbo/issues/8403#issuecomment-891698385


   @BurningCN 
   
   我把代码setUp()方法中的:
   public class FailbackRegistryTest {
       static String service;
       static URL serviceUrl;
       static URL registryUrl;
       MockRegistry registry;
       private int FAILED_PERIOD = 200;
       private int sleeptime = 100;
       private int trytimes = 5;
   
       /**
        * @throws java.lang.Exception
        */
       @BeforeEach
       public void setUp() throws Exception {
           service = "org.apache.dubbo.test.DemoService";
           serviceUrl = 
URL.valueOf("remote://127.0.0.1/demoservice?method=get");
           registryUrl = 
URL.valueOf("http://1.2.3.4:9090/registry?check=false&file=N/A";).addParameter(REGISTRY_RETRY_PERIOD_KEY,
 String.valueOf(FAILED_PERIOD));
       }
   
   
   中的check=false和check=true都测试了一下,,,控制台输出结果是一样的,没有什么区别。


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to