zrlw edited a comment 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: [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