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: [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]
