ashb commented on PR #43602: URL: https://github.com/apache/airflow/pull/43602#issuecomment-2456710118
I have a (maybe/probably) crazy idea that might make our tests nicer, and easier to parallelize in future: If we use dependency overrides, we can make the session inside our routers use the same session https://fastapi.tiangolo.com/advanced/testing-dependencies/#use-the-appdependency_overrides-attribute But for now: lets set up this dep override and change the `commit()` in tests to `flush()` (possibly putting the flush inside the dag_maker fixture itself?) -- 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]
