yyqdbngt opened a new pull request, #3958: URL: https://github.com/apache/rocketmq-dashboard/pull/3958
### Motivation `MetricQueryDTO` had no unit coverage for its cross-field and range validation rules. This PR adds first coverage. ### Changes - Range end/step and at least one metric selection are required. - profileId and semanticMetric must be supplied together. - A raw PromQL query passes, and non-positive range bounds are rejected. ### Verification - `mvn -B test -Dtest=MetricQueryDTOTest`: 4/4 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]
