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

   ### What
   
   `AuditCleanupDTO` carries the retention window for an audit cleanup pass. It 
had no test. This adds 3 tests.
   
   ### What is pinned
   
   - the window **must be greater than zero** — a cleanup can never delete 
fresh audit records;
   - it is **capped at 365 days** — it cannot be deferred forever;
   - both boundaries (1 and 365) are valid.
   
   ### Verification
   
   - New tests on unmodified code: **3/3 green**, checkstyle clean.
   - Discriminating mutation: the cap raised to 366 (red).
   - Restored: 3/3 green. Test-only change; no product code touched.
   


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

Reply via email to