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 16:13:04 UTC
[PR] test: cover unknown cluster lookup and config update in ClusterRepositoryImpl [rocketmq-dashboard]
yyqdbngt opened a new pull request, #3452:
URL: https://github.com/apache/rocketmq-dashboard/pull/3452
### Summary
`ClusterRepositoryImpl` serves a seeded demo store with defensive copies. The suite covered listing order, copy isolation and config update for a known cluster, but never the unknown-id path.
### Changes
- `findById` returns an empty optional for an unknown cluster id
- `updateConfig` for an unknown cluster is a silent no-op that leaves the store untouched
### Testing
`mvn test -Dtest=ClusterRepositoryImplTest` passes: 6 tests, 0 failures (up from 4).
--
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: cover unknown cluster lookup and config update in ClusterRepositoryImpl [rocketmq-dashboard]
Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed pull request #3452: test: cover unknown cluster lookup and config update in ClusterRepositoryImpl
URL: https://github.com/apache/rocketmq-dashboard/pull/3452
--
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