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 14:16:16 UTC

[PR] test(broker): cover cluster repository empty lookups [rocketmq-dashboard]

yyqdbngt opened a new pull request, #3383:
URL: https://github.com/apache/rocketmq-dashboard/pull/3383

   ## Summary
   
   Extends the existing `ClusterRepositoryImplTest` (4 to 6 tests) with the empty-lookup branches.
   
   Added cases:
   - `findById` is empty for an unknown cluster id;
   - with demo data disabled, `findById` is empty even for known demo ids.
   
   ## Why
   
   The demo-backed repository is a fallback used in no-auth deployments; only enabled-path ordering and deep-copy semantics were covered before.
   
   ## Testing
   
   `mvn -B test -Dtest=ClusterRepositoryImplTest` — 6/6 pass; checkstyle (validate) clean.


-- 
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(broker): cover cluster repository empty lookups [rocketmq-dashboard]

Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed pull request #3383: test(broker): cover cluster repository empty lookups
URL: https://github.com/apache/rocketmq-dashboard/pull/3383


-- 
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