The GitHub Actions job "Tests (AMD)" on 
airflow.git/fix-mongo-testcontainer-ryuk-reap has succeeded.
Run started by GitHub user potiuk (triggered by jscheffl).

Head commit for run:
043614ef4bf45a718dee933ee195bc2bb8739d58 / Jarek Potiuk <[email protected]>
Fix flaky mongo provider tests: disable testcontainers ryuk reaper in CI

On long provider / Airflow-compat test runs the session-scoped MongoDB
testcontainer was being reaped by testcontainers' ryuk before the mongo
hook tests ran, causing a cascade of 'Connection refused' errors at the
setup of every TestMongoHook test (container started fine early in the
session, then vanished by the time the mongo module executed — the dumped
container logs were empty because it was already gone).

The fixture stops the container explicitly in its finally block and CI
runners are ephemeral, so ryuk's auto-reaping is unnecessary and harmful
there. Disable it via TESTCONTAINERS_RYUK_DISABLED before any
MongoDbContainer is created — but only in CI, so local runs keep ryuk to
clean up containers left by an interrupted test run.

Report URL: https://github.com/apache/airflow/actions/runs/26791322761

With regards,
GitHub Actions via GitBox


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

Reply via email to