yyqdbngt opened a new pull request, #3916: URL: https://github.com/apache/rocketmq-dashboard/pull/3916
### Motivation The `UpdateConfigDTO` request behind the broker config save form carries the runtime bounds enforced by the backend, but none of its validation rules had unit coverage. This PR adds the first five cases. ### Changes - A missing id is rejected. - A fully valid configuration passes validation. - `maxMessageSize` is bounded to the broker range (1 MB – 128 MB). - Retention (1–720) and queue counts (1–256) enforce their ranges. - `brokerPermission` stays within 0–7. ### Verification - `mvn -B test -Dtest=UpdateConfigDTOTest`: 5/5 passed, 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]
