zrlw commented on issue #8993:
URL: https://github.com/apache/dubbo/issues/8993#issuecomment-939219910


   
eclipse交叉执行若干次SingleRegistryCenterInjvmIntegrationTest和SingleRegistryCenterDubboProtocolIntegrationTest单元测试之后,突然发现这两个测试类执行DubboBootstrap.getInstance().start()的结果都是zookeeper
 not connected了:
   ```
   java.lang.IllegalStateException: java.lang.IllegalStateException: zookeeper 
not connected
        at 
org.apache.dubbo.config.deploy.DefaultApplicationDeployer.prepareEnvironment(DefaultApplicationDeployer.java:637)
        at 
org.apache.dubbo.config.deploy.DefaultApplicationDeployer.startConfigCenter(DefaultApplicationDeployer.java:266)
        at 
org.apache.dubbo.config.deploy.DefaultApplicationDeployer.initialize(DefaultApplicationDeployer.java:195)
        at 
org.apache.dubbo.config.deploy.DefaultApplicationDeployer.start(DefaultApplicationDeployer.java:538)
        at 
org.apache.dubbo.config.bootstrap.DubboBootstrap.start(DubboBootstrap.java:230)
   ```
   
跟踪进去CuratorFrameworkImpl的blockUntilConnected方法,发现currentConnectionState的值一直是null,curator的事件驱动不运转了。
   
   dubbo: 3.0  7c2f52d  [3.0-Triple] support streamObserver cancel (#8946)
   pom里配置的zookeeper: 3.4.13, curator: 4.1.0,  curator-test: 2.12.0


-- 
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