waterWang opened a new pull request, #8198:
URL: https://github.com/apache/incubator-seata/pull/8198

   ### Summary
   
   Adds comprehensive test coverage for the `ConnectionContext` class in the 
`rm-datasource` module.
   
   ### Changes
   
   - **getApplicationData()**: Tests for SKIP_CHECK_LOCK toggle 
(OPTIMISTIC/PESSIMISTIC), allBeforeImageEmpty branch, AUTO_COMMIT logic, 
lockRetryTimes=-1 edge case
   - **getBranchId()**: getter/setter tests
   - **releaseSavepoint()**: Verifies undo items are moved across savepoints
   - **removeSavepoint()**: Edge cases with multiple savepoints
   - **Multiple savepoints**: Verifies currentSavepoint tracking
   
   ### Tests
   
   38 tests total, all passing. Code coverage of ConnectionContext increased 
from ~60% to ~90%.
   
   ### Related Issue
   
   Fixes #1714
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to