badalprasadsingh opened a new pull request, #2035: URL: https://github.com/apache/iceberg-go/pull/2035
Fixes the flaky test which failed in [CI](https://github.com/apache/iceberg-go/actions/runs/35625719644/job/106419466284). ```bash === RUN TestArrowScanPreCancelledIteratorTearsDownProducer arrow_scanner_lazy_delete_regression_test.go:512: Error Trace: /home/runner/work/iceberg-go/iceberg-go/table/arrow_scanner_lazy_delete_regression_test.go:512 Error: Expected error with "context canceled" in chain but got nil. Test: TestArrowScanPreCancelledIteratorTearsDownProducer --- FAIL: TestArrowScanPreCancelledIteratorTearsDownProducer (0.00s) ``` **Reason:** With a cancelled context, workers exit without sending anything and `sequenced` gets closed. At this moment, `ctx.Done()` is also ready. `select` picks randomly, and the closed-channel branch returned without an error. -- 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]
