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

   ### Summary
   Add the first unit coverage for the NameServer config drift comparison 
(`NameServerConfigDiffService`):
   
   - aligned NameServer nodes (same `listenPort` etc.) report `complete=true`, 
`nodeCount=2`, no drift;
   - a `listenPort` mismatch across nodes is reported as a `listenPort` 
difference with one value per node;
   - a cluster without any NameServer endpoint is rejected with the existing 
409.
   
   ### Why
   This service powers the NameServer drift view and had no automated coverage, 
so enumeration/reachability/drift regressions went unnoticed.
   
   ### Testing
   - `mvn -f server/pom.xml -Dtest=NameServerConfigDiffServiceTest test` 
passes: 3/3.
   


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