taoran92 opened a new pull request, #11061:
URL: https://github.com/apache/paimon/pull/11061

   ### Purpose
   
   Fixes #11060.
   
   The output metric test can remove its listener while `TaskEnd` events are 
still pending, causing the assertion to observe zero records after a successful 
`INSERT`. Wait for listener events after the `INSERT` and before removing the 
listener, preserving the existing `finally` cleanup and V1/V2 assertions.
   
   ### Tests
   
   Spark 3.5.9 / JDK 11:
   
   - `PaimonMetricTest`: all 13 tests passed.
   - Temporary delayed-event probe passed for V1 and V2 writes; injected SQL 
errors and event-queue timeouts confirmed that the metric listener is removed.
   - Maven `test-compile` with the `spark3` profile passed, including 
Checkstyle and Spotless checks.
   


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