zrlw opened a new issue #8959:
URL: https://github.com/apache/dubbo/issues/8959
### Environment
* Dubbo version: 3.0 / master
```List<ServiceInstance> serviceInstances =
discovery.getInstances(SERVICE_NAME);```需要等待注册完成后再执行,否则后面的断言就就会失败,比如3.0的github构建日志:
```
ZookeeperServiceDiscoveryTest.testRegistration:92 expected: <true> but
was: <false>
```
--
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]