yyqdbngt opened a new pull request, #3595:
URL: https://github.com/apache/rocketmq-dashboard/pull/3595
### Summary
Deepens `NameServerControllerTest` with the cluster-rejection branches of
the restart and delete operations; the suite previously only exercised the
successful hand-off.
### Changes
-
`server/src/test/java/org/apache/rocketmq/studio/cluster/nameserver/NameServerControllerTest.java`
- `restartNameServerShouldReportFailureWhenClusterRejectsTest`: a false
result surfaces as 500 with the restart message.
- `deleteNameServerShouldReportFailureWhenClusterRejectsTest`: a false
result surfaces as 500 with the delete message.
Suite grows from 16 to 18 tests.
### Testing
- `mvn -B test -Dtest=NameServerControllerTest` passes (18 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]