ishankhemani opened a new pull request, #15890: URL: https://github.com/apache/dubbo/pull/15890
Changes made: AwaitingNonWebApplicationListener.java Updated await() logic to correctly handle parent contexts. Ensures that await() completes even if the application context is not a root context. AwaitingNonWebApplicationListenerTest.java Rewrote the test to simulate a parent-child application context scenario. Added an assertion to verify that await() completes successfully with a parent context. pom.xml (dubbo-spring-boot) Updated Maven Surefire plugin configuration to ensure JUnit Jupiter tests are executed properly. Why this is important: Fixes a blocking issue in non-web Spring Boot applications using Dubbo with a bootstrap parent context. Improves test coverage to catch similar issues in the future. Ensures consistent behavior of Dubbo application lifecycle handling. Testing done: Verified that AwaitingNonWebApplicationListenerTest passes locally with the updated logic. Build succeeds with all existing tests. Fixes # 13722 -- 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]
