oneby-wang commented on PR #25144:
URL: https://github.com/apache/pulsar/pull/25144#issuecomment-3752583975

   The flaky test was very hard to reproduce, but I occasionally found a way to 
easily reproduce it by adding some breakpoints.
   
   I don't know the reason, maybe breakpoints in IntelliJ IDEA cause further 
de-synchronization between the volatile fields of the spy object and the 
original object, and it seems that breakpoints added after 
`ledger.addEntry(String.valueOf(i).getBytes(Encoding))` method are more likely 
to cause flakiness.
   
   <img width="1920" height="1030" alt="image" 
src="https://github.com/user-attachments/assets/bbaa1f3b-a213-4c03-92ca-3b0303614347";
 />


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