yyqdbngt opened a new pull request, #3647:
URL: https://github.com/apache/rocketmq-dashboard/pull/3647
### Summary
Adds the first dedicated unit test suite for `NativeAlertMetricInfo`, the
record describing one built-in native alert metric.
### Changes
-
`server/src/test/java/org/apache/rocketmq/studio/ops/alert/NativeAlertMetricInfoTest.java`
- `exposesAllRecordComponents`: key, label, threshold unit and
consumer-group support surface.
- `consumerGroupSupportMayBeAbsent`: the flag stays false where not
applicable.
- `equalityFollowsRecordComponents`: record equality and hash behaviour.
### Testing
- `mvn -B test -Dtest=NativeAlertMetricInfoTest` passes (3 tests, all green).
--
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]