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

   ### What
   
   `RestartNameServerDTO` carries a NameServer restart. It had no dedicated 
test (only indirect use in controller tests). This adds 3 tests.
   
   ### What is pinned
   
   - a valid request passes untouched;
   - **the cluster is required** and **the address is required** — a request 
that names neither machine nor cluster must fail validation instead of 
restarting an arbitrary node.
   
   ### Verification
   
   - New tests on unmodified code: **3/3 green**, checkstyle clean.
   - Discriminating mutation: the `addr` constraint message drifted (red).
   - Restored: 3/3 green. Test-only change; no product code touched.
   


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