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

   This fixes an intermittent Cassandra E2E failure where the sink table was 
still non-empty immediately after truncate, causing:
   
       expected: <0> but was: <1>
   
   Root cause: The test was asserting right after TRUNCATE without waiting for 
the truncation to become visible. In this environment, that created a small 
race window.
   
   Fix:
   
       Use fully qualified table names for TRUNCATE
       Poll until SELECT count(*) = 0 before asserting the table is empty
       Applied in CassandraIT.java for both sink-table cleanup paths
   
   Reference:
   
       Failing job: 
https://github.com/NganWave/seatunnel/actions/runs/38145352611/job/114646933310
   
   Files changed:
   
       
seatunnel-e2e/seatunnel-connector-v2-e2e/connector-cassandra-e2e/src/test/java/org/apache/seatunnel/connectors/seatunnel/cassandra/CassandraIT.java
   
   This is a test-only fix and does not change production logic.


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