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

   ## Summary
   
   Extends the existing `MybatisPlusAlertStateRepositoryTest` (4 to 6 tests) 
with the failure branches.
   
   Added cases:
   - `find` returns empty when no state row exists for the key;
   - `acknowledge` reports false when the conditional firing-state update 
matches no row (e.g. the alert already resolved or the key moved on).
   
   ## Why
   
   The repository guards state transitions against concurrent acks; only the 
success and active-state branches were covered before.
   
   ## Testing
   
   `mvn -B test -Dtest=MybatisPlusAlertStateRepositoryTest` — 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]

Reply via email to