ump45nose opened a new pull request, #18895:
URL: https://github.com/apache/iceberg/pull/18895

   `testCompactFileE2e` and `testAllMaintenanceE2e` in 
`TestIcebergSinkTableMaintenance` block on `env.execute()` with no limit, so 
when an earlier test takes down the MiniCluster's only TaskManager the job can 
never be scheduled and the CI job hangs until the 60-minute workflow timeout 
cancels it, losing the test reports. This adds a per-method JUnit `@Timeout` of 
5 minutes to those two tests in Flink 1.20, 2.2 and 2.3, so a hang of this kind 
fails fast with a clear error. The limit is per-method because the other E2E 
tests already wait up to 2 minutes through Awaitility.
   
   Closes #18891.
   
   Test plan: `./gradlew :iceberg-flink:iceberg-flink-2.2:test --tests 
org.apache.iceberg.flink.sink.TestIcebergSinkTableMaintenance`, plus 
`spotlessApply` and `checkstyleTest` for the Flink 1.20, 2.2 and 2.3 modules.
   
   ---
   **AI Disclosure**
   - Model: Grok Bot
   - Platform/Tool: Cursor
   - Human Oversight: [unknown - human to fill in]
   - Prompt Summary: Implement the proposal in apache/iceberg#18891 by adding a 
JUnit timeout to the two blocking E2E tests in TestIcebergSinkTableMaintenance 
for all Flink versions; the test changes are generated.
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to