zhangshenghang opened a new pull request, #11071:
URL: https://github.com/apache/seatunnel/pull/11071

   ### Purpose
   Fix a race in `CheckpointBarrierTriggerErrorTest` where the spied 
`CheckpointManager` was installed before Mockito stubbing was completed. A 
running checkpoint thread could invoke the spy during stubbing and trigger 
`UnfinishedStubbing`.
   
   ### Changes
   - Configure the spy before replacing the checkpoint manager used by the 
running coordinator.
   - Reset the test counter at the start of the test so repeated executions are 
deterministic.
   
   ### Verification
   - `./mvnw spotless:apply`
   - `./mvnw -q -DskipTests verify`


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