You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "yyqdbngt (via GitHub)" <gi...@apache.org> on 2026/09/05 18:32:51 UTC
[PR] test: deepen ClusterAlertRuleControllerTest with delete and bulk flows [rocketmq-dashboard]
yyqdbngt opened a new pull request, #3585:
URL: https://github.com/apache/rocketmq-dashboard/pull/3585
### Summary
Deepens `ClusterAlertRuleControllerTest` with the delete and bulk endpoints that were previously uncovered, verifying each stays pinned to the CLUSTER domain.
### Changes
- `server/src/test/java/org/apache/rocketmq/studio/ops/alert/ClusterAlertRuleControllerTest.java`
- `deleteRuleShouldDelegateWithClusterDomain`: POST /delete routes the id through the CLUSTER-scoped delete.
- `bulkToggleShouldDelegateWithClusterDomain`: POST /bulk-toggle carries ids and the enabled flag into the CLUSTER-scoped bulk toggle.
- `bulkDeleteShouldDelegateWithClusterDomain`: POST /bulk-delete carries the id list into the CLUSTER-scoped bulk delete.
Suite grows from 6 to 9 tests.
### Testing
- `mvn -B test -Dtest=ClusterAlertRuleControllerTest` passes (9 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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] test: deepen ClusterAlertRuleControllerTest with delete and bulk flows [rocketmq-dashboard]
Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed pull request #3585: test: deepen ClusterAlertRuleControllerTest with delete and bulk flows
URL: https://github.com/apache/rocketmq-dashboard/pull/3585
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org