yyqdbngt opened a new pull request, #3321: URL: https://github.com/apache/rocketmq-dashboard/pull/3321
## Summary Extends the existing `ClusterListToolHandlerTest` (2 to 5 tests) to pin down the cluster-list tool projection. Added cases: - the tool reports its canonical name `rmq.cluster.list`; - every cluster is projected in input order (id, type, status passthrough); - a cluster missing its type or status is rejected with an `IllegalStateException` naming the missing field and the cluster id, rather than emitting a null into the schema-required fields. ## Why The tool is the read-only cluster inventory for AI/MCP/CLI callers; the multi-row and missing-enum branches had no coverage. ## Testing `mvn -B test -Dtest=ClusterListToolHandlerTest` — 5/5 pass; checkstyle (validate) clean. -- 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]
