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/08 05:21:56 UTC

[GitHub] [dubbo] zrlw commented on issue #8725: [3.0] 部分单元测试的测试方法非线程安全,不能并行执行

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


   看了一下代码,如果采用测试类加@net.jcip.annotations.NotThreadSafe注解单线程执行,几乎大部分测试类都需要加,不可行。
   把AbstractRegistryFactory加个引用计数吧,就像ReferenceCountExchangeClient那样,计数降到0之后再做destroy,如何?


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