zrlw edited a comment on issue #8725: URL: https://github.com/apache/dubbo/issues/8725#issuecomment-915679045
我对forkMode的理解有错误, forkMode=once 对应的是 forkCount=1 && reuseForks=true 创建一个新进程用于每个测试(复用) forkMode=always 对应的是 forkCount=1 && reuseForks=false 为每一个测试创建一个新进程 从日志内容看,once forkMode方式下AfterEach的reset关闭zk连接的动作时,DubboSaveMetadataReport-thread-1 还在工作,然后下一个测试方法在main线程执行start操作进行zk注册时出异常了。 -- 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]
