potiuk opened a new pull request, #66154: URL: https://github.com/apache/airflow/pull/66154
A transient Docker Hub auth-server timeout while pulling `mongo:latest` caused all 33 mongo provider unit tests to fail at fixture setup with `context deadline exceeded` — see e.g. [this Compat 3.2.1 / Py3.10 run on `main`](https://github.com/apache/airflow/actions/runs/25154778326/job/73736510149). The fixture in `providers/mongo/tests/conftest.py` does a one-shot `MongoDbContainer("mongo:latest")` start, so any registry blip during the image pull cascades into the entire mongo unit-test file erroring out at setup. This PR makes the fixture less fragile in two small ways: - **Pin the image to `mongo:8.0`** instead of `:latest` so the tag is stable and does not re-resolve a moving target on every run. - **Retry container start up to 3 times** with 5s/10s backoff, so a single transient registry-auth timeout no longer fails 33 tests. No production code changes — test-fixture only. --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Code (Opus 4.7) Generated-by: Claude Code (Opus 4.7) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) -- 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]
