yyqdbngt opened a new pull request, #3591:
URL: https://github.com/apache/rocketmq-dashboard/pull/3591
### Summary
Deepens `ClusterAlertRuleControllerTest` with the update endpoint and the
absent-body import form, closing the last write-path gaps.
### Changes
-
`server/src/test/java/org/apache/rocketmq/studio/ops/alert/ClusterAlertRuleControllerTest.java`
- `updateRuleShouldForceClusterDomainAndReturnUpdatedTest`: POST /update
pins the CLUSTER domain before delegating.
- `importRulesShouldAcceptAbsentBody`: a body-less POST /import reaches
the transfer service with a null payload and returns an empty list.
Suite grows from 6 to 8 tests.
### Testing
- `mvn -B test -Dtest=ClusterAlertRuleControllerTest` passes (8 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]