wayneli-vt opened a new pull request, #6912:
URL: https://github.com/apache/paimon/pull/6912

   <!-- Please specify the module before the PR name: [core] ... or [flink] ... 
-->
   
   ### Purpose
   
   This PR fixes a flaky unit test caused by Spark’s asynchronous 
`QueryExecutionListener` callbacks. The previous implementation could iterate 
over a mutable collection while the listener thread was still appending, 
leading to `ConcurrentModificationException`. The fix waits for the expected 
plan via `CountDownLatch` before asserting.
   
   ### Tests
   
   <!-- List UT and IT cases to verify this change -->
   
   ### API and Format
   
   <!-- Does this change affect API or storage format -->
   
   ### Documentation
   
   <!-- Does this change introduce a new feature -->
   


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