Repository navigation
Use 20-minute JUnit timeout on non-DirectRunner in DeltaLakeToIcebergCdcIT - #41280
Conversation
|
/gemini review |
There was a problem hiding this comment.
📋 Review Summary
This PR updates the JUnit @Rule Timeout in DeltaLakeToIcebergCdcIT from a fixed 10 minutes to 5 minutes on DirectRunner and 20 minutes on other runners (such as DataflowRunner). The change is clean, well-justified, and aligns DeltaLakeToIcebergCdcIT with the existing timeout conventions in IcebergCatalogBaseIT and IcebergCdcWriteBaseIT.
🔍 General Feedback
- The runner-dependent timeout (
300seconds forDirectRunner,20 * 60seconds otherwise) provides adequate headroom for Dataflow Runner v2 worker startup and teardown while tightening timeouts for local/DirectRunner execution. - No issues found; the change is ready to merge.
💡 Tip: Comment /gemini review on this pull request to trigger a new Gemini code review.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #41280 +/- ##
============================================
- Coverage 59.26% 57.74% -1.52%
+ Complexity 4925 2633 -2292
============================================
Files 1462 1203 -259
Lines 186313 171888 -14425
Branches 3669 2182 -1487
============================================
- Hits 110417 99257 -11160
+ Misses 72540 69966 -2574
+ Partials 3356 2665 -691 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
R: @ahmedabu98 |
|
Assigning reviewers: R: @ahmedabu98 for label iceberg. Note: If you would like to opt out of this review, comment Available commands:
The PR bot will only process comments in the main thread (not review comments). |
|
Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control. If you'd like to restart, comment |
Note: this PR was auto-generated by tooling. Before moving it out of draft, the author has done a full review of the PR, specifically evaluating it on the following criteria:
Full details of the methodology of generation and review can be found here - https://docs.google.com/document/d/14lj7ECVov4T4EdwmIzNlWrRGE3lLDMOwX5xUMGzaLoc/edit?usp=sharing
If you have concerns with the PR or with the underlying methodology used to generate this, please comment below - they will be addressed by the author not the tooling :)
Summary
@Rule TimeoutinDeltaLakeToIcebergCdcITfrom a hardcoded 10 minutes (10 * 60) toTimeout.seconds(OPTIONS.getRunner().equals(DirectRunner.class) ? 300 : 20 * 60), matching the runner-dependent timeout used inIcebergCatalogBaseITandIcebergCdcWriteBaseIT.Root Cause
In the
IcebergIO Integration Tests on Dataflowworkflow (run 43366381845),DeltaLakeToIcebergCdcIT > changeFeedAppliesToIcebergTableWithChangeTypeColumnfailed withorg.junit.runners.model.TestTimedOutException: test timed out after 600 secondsatDeltaLakeToIcebergCdcIT.applyChangeFeed(DeltaLakeToIcebergCdcIT.java:340)after the Dataflow Runner v2 job had already completed all operations (Finished operation ... at 05:45:51.531Z) and was inCleaning up. Stopping worker pool...at 9m51s.Commit
ea3c5dfb210(#40230) added bothIcebergCdcWriteBaseIT(configured withTimeout.seconds(OPTIONS.getRunner().equals(DirectRunner.class) ? 300 : 20 * 60), matchingIcebergCatalogBaseIT) andDeltaLakeToIcebergCdcIT(configured with a fixed 10-minute timeout), which leaves insufficient headroom for Dataflow Runner v2 worker startup and job teardown in:sdks:java:io:iceberg:dataflowIntegrationTest.Recent Occurrences
masterworkflow failures in the last 3 weeks (2026-11-03–2026-11-24), accounting for 100% (2/2) of recentIcebergIO Integration Tests on Dataflowfailures:42065822602and43366381845.Verification
./gradlew :sdks:java:io:iceberg:spotlessCheck :sdks:java:io:iceberg:compileTestJava :sdks:java:io:iceberg:checkstyleTest.Verification
IO_Iceberg_Integration_Tests_Dataflow.ymlworkflow run on branch:43379167610