yyqdbngt opened a new pull request, #3609:
URL: https://github.com/apache/rocketmq-dashboard/pull/3609
### Summary
Adds the first dedicated unit test suite for `MetricAvailability`, the
metric availability vocabulary used by native alert evaluation results.
### Changes
-
`server/src/test/java/org/apache/rocketmq/studio/cluster/metrics/MetricAvailabilityTest.java`
- `exposesAllAvailabilityStates`: AVAILABLE/UNAVAILABLE/UNSUPPORTED/STALE
exist.
- `enumNamesUseUpperSnakeCase`: names stay upper snake-case.
- `namesRoundTripThroughValueOf`: every constant round-trips.
### Testing
- `mvn -B test -Dtest=MetricAvailabilityTest` 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]