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/11/03 09:42:54 UTC

[GitHub] [dubbo] zrlw commented on issue #9168: [3.0] 近期github构建经常提示ServiceConfigTest.testDelayExport第222行抛RejectedExecutionException

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


   debug确认了问题原因,DefaultApplicationDeployer的onStarted方法和ServiceConfigTest的testDelayExport方法的delayService.export()在两个线程里并行执行所致。
   当delayService.export()先调用DefaultExecutorRepository的getServiceExportExecutor创建了serviceExportExecutor之后,
   DefaultApplicationDeployer的onStarted方法马上执行了executorRepository.shutdownServiceExportExecutor()关闭了serviceExportExecutor,导致ServiceConfigTest的testDelayExport方法使用了shutdown的executor。


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