> 就是 dubbo-registry-zookeeper/ test类,里边就一个测试类,我测试的是注册,方法如下:
> @test
> public void testRegister() {
> Set registered;
> 
> ```
>     for (int i = 0; i < 2; i++) {
>         zookeeperRegistry.register(serviceUrl);
>         registered = zookeeperRegistry.getRegistered();
>         assertThat(registered.contains(serviceUrl), is(true));
>     }
> 
>     registered = zookeeperRegistry.getRegistered();
>     assertThat(registered.size(), is(1));
> }
> ```

I just run it locally, it has passed. pls update your code to the latest branch 
and run it again.

[ Full content available at: 
https://github.com/apache/incubator-dubbo/issues/3325 ]
This message was relayed via gitbox.apache.org for 
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to