You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/09/09 01:16:45 UTC

[GitHub] [dubbo] pinxiong edited a comment on issue #8689: curator_version版本4.0.1存在缺陷

pinxiong edited a comment on issue #8689:
URL: https://github.com/apache/dubbo/issues/8689#issuecomment-915683039


   > 我对forkMode的理解有错误,
   > forkMode=once 对应的是 forkCount=1 && reuseForks=true 创建一个新进程用于每个测试(复用)
   > forkMode=always 对应的是 forkCount=1 && reuseForks=false 为每一个测试创建一个新进程
   > 从日志内容看,once forkMode方式下AfterEach的reset关闭zk连接的动作竟然在和下一个测试方法并行执行,once都搞不定,always也不可能搞定了。
   
   I have focused on this problem too. 
   
   Dubbo only supports single instance(the multiple instances is developing now), there will be chaos if we remove `DubboBootstrap.reset()` in `AfterEach`. But I think we can have a try


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org