drajguru opened a new issue, #37466: URL: https://github.com/apache/airflow/issues/37466
### Apache Airflow version main (development) ### If "Other Airflow 2 version" selected, which one? _No response_ ### What happened? test_sqlite_relative_path() in test_settings.py seemingly puts the session into a state that prevents subsequent test modules from passing. I think during this test the session is re-initialized and this interferes other test modules due to it being a global object. ### What you think should happen instead? The test should mock out the session, engine... objects to avoid mutating the global state. ### How to reproduce breeze testing tests --test-type Core ! _pytest.outcomes.Exit: Unable clear test DB, got error sqlalchemy.exc.OperationalE [SQL: DELETE FROM job] (Background on this error at: https://sqlalche.me/e/14/e3q8) ! ============ 193 passed, 4 skipped, 5 warnings in 65.27s (0:01:05) ============= ### Operating System ubuntu 22.04 ### Versions of Apache Airflow Providers _No response_ ### Deployment Virtualenv installation ### Deployment details Using breeze ### Anything else? _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- 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: commits-unsubscr...@airflow.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org