RootCauseunvalidated
indiviual tests (at least with my config) can not share a single database connection pool or rather a single db engine unlike the FastAPI app instance — tests for my fastapi application that uses asynchronous posgtres connection. Tension: share a single database connection pool or rather a single db engine unlike the FastAPI app instance. Outcome: This will enforce a new db connection with every request creating a ton of overhead.
7a8de80f-899b-4f81-acef-642cbf5d1369
indiviual tests (at least with my config) can not share a single database connection pool or rather a single db engine unlike the FastAPI app instance — tests for my fastapi application that uses asynchronous posgtres connection. Tension: share a single database connection pool or rather a single db engine unlike the FastAPI app instance. Outcome: This will enforce a new db connection with every request creating a ton of overhead.