haseebmalik18 opened a new pull request, #62823:
URL: https://github.com/apache/airflow/pull/62823
Tests intermittently fail with `Lost connection to server during query`
during test setup on the MySQL backend. The `clear_db_*` test utility functions
had no retry logic for transient database errors.
This adds a `_retry_db` decorator to all `clear_db_*` functions that retries
on `DBAPIError` using the existing `run_with_db_retries` utility, following
the same pattern already used in `pytest_plugin.py`.
closes: #62768
--
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]