Skip to content

Spark Test: Fix flaky TestCopyOnWriteDelete tests#15227

Draft
gabeiglio wants to merge 2 commits intoapache:mainfrom
gabeiglio:fix-flaky-test
Draft

Spark Test: Fix flaky TestCopyOnWriteDelete tests#15227
gabeiglio wants to merge 2 commits intoapache:mainfrom
gabeiglio:fix-flaky-test

Conversation

@gabeiglio
Copy link
Contributor

@gabeiglio gabeiglio commented Feb 3, 2026

These test were timing out on our CI builds, doing some investigation this exact issue came out in a similar test, and applying the same fix worked

The test was also getting stuck locally when running:

./gradlew --stacktrace -Pquick=true -x javadoc :iceberg-spark:iceberg-spark-extensions-4.0_2.13:test -DscalaVersion=2.13 -DsparkVersions=4.0 \
 --tests "org.apache.iceberg.spark.extensions.TestCopyOnWriteDelete"

Note: I only saw this in spark 4.0, but seems harmless to backport it to all other versions

@gabeiglio gabeiglio marked this pull request as draft February 3, 2026 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant