yyqdbngt opened a new pull request, #3090: URL: https://github.com/apache/rocketmq-dashboard/pull/3090
### Summary Add the first unit coverage for the audit log service (`AuditService`): - pagination bounds are rejected (`page < 1`, `pageSize` outside 1..100); - a reversed date range (`startDate` after `endDate`) is rejected; - cleanup windows outside 1..365 days are rejected; - export refuses to run when the filtered result would exceed the 10 000 record cap. ### Why These guards protect the audit repository from unbounded queries and exports; they previously had no automated coverage. ### Testing - `mvn -f server/pom.xml -Dtest=AuditServiceTest test` passes: 4/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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
