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/10/23 15:05:37 UTC

[GitHub] [dubbo] zrlw commented on issue #9079: [3.0] 集成测试一个测试类在执行FrameworkModel的onDestroy方法时,正在启动的其他测试类会启动失败

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


   使用了GlobalResourcesRepository线程池之后,单元测试也存在类似的问题。
   github构建默认方式是并行执行UT,当测试类A结束后会github的main线程会立即启动测试类B,但是测试A的全局资源可能还在销毁过程中,此时测试类B使用全局资源就会出现各种问题。
   为了支持全局资源管理,我们可能需要将单元测试和集成测试的执行模式改为串行。


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