yyqdbngt opened a new pull request, #3801: URL: https://github.com/apache/rocketmq-dashboard/pull/3801
### Motivation The existing `SystemGroupFilterTest` covers the canonical prefixes and user-group counterexamples, but the whitespace boundary and the prefix-variant semantics (longer names that start with a system prefix) were untested. ### Changes - `shouldTreatWhitespaceOnlyGroupAsNonSystem`: unlike null/empty, a whitespace-only name is not classified as a system group because the filter never trims input. - `shouldMatchSystemGroupPrefixVariants`: names that merely *start with* `CID_HOUSEKEEPING`, `CID_SYS_`, `CID_ONSAPI_`, `rmq_sys_` or the retry/dlq prefixes are system groups, while a retry marker in the middle is not. ### Verification ``` mvn -B test -Dtest=SystemGroupFilterTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0 [INFO] BUILD SUCCESS ``` -- 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]
