yyqdbngt opened a new pull request, #3288: URL: https://github.com/apache/rocketmq-dashboard/pull/3288
## Summary Extends the existing `LiteTopicQuotaTest` (4 to 6 tests) to pin down the remaining quota math. Added cases: - `getUsageRate`/`getSessionUsageRate` reflect the current-over-max fractions (5/10 → 0.5, 2/8 → 0.25); - `isNearQuotaLimit` compares the topic usage rate against the threshold inclusively (9/10 is near 0.9 but not 0.91; 5/10 is near 0.5). ## Why The quota view drives the Lite Topic creation warning banner; only guard/edge behavior was covered before, not the actual rate values or thresholds. ## Testing `mvn -B test -Dtest=LiteTopicQuotaTest` — 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
