yyqdbngt opened a new pull request, #3833:
URL: https://github.com/apache/rocketmq-dashboard/pull/3833

   ### Motivation
   
   The existing `ClusterListToolHandlerTest` covers version projection only. 
The empty-list output, the required-enum guard and the tool's registry name 
were untested.
   
   ### Changes
   
   - `emptyClusterListReturnsEmptyRows`: an empty cluster list yields an empty 
result array.
   - `nullTypeOrStatusRaisesIllegalStateException`: a cluster missing its 
`type` raises a descriptive `IllegalStateException` naming the cluster instead 
of emitting null.
   - `handlerNameShouldBeStable`: the handler advertises `rmq.cluster.list` for 
catalogs and MCP callers.
   
   ### Verification
   
   ```
   mvn -B test -Dtest=ClusterListToolHandlerTest
   [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0
   [INFO] BUILD SUCCESS
   ```


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

Reply via email to