gaoxiaolei-s59 opened a new pull request, #16328: URL: https://github.com/apache/dubbo/pull/16328
## What is the purpose of the change Simplify `MockClusterInvokerTest` by replacing broad try/catch assertions with focused `assertThrows` checks and extracting a shared helper for the fail-mock invoker setup. Supersedes #16327, which was recreated after repeated unrelated integration CI failures in the test image setup. ## Brief changelog - Split the fail-mock-without-default test into focused cases for `getSomething` and an unconfigured method. - Added a helper for the repeated fail-mock invoker construction. - Replaced empty catch blocks with `Assertions.assertThrows`. ## Verifying this change - `./mvnw -pl dubbo-cluster -Dtest=MockClusterInvokerTest test` - `./mvnw -pl dubbo-cluster test` -- 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]
