Quantco / datajudge

Assessing whether data from database complies with reference information.
https://datajudge.readthedocs.io
BSD 3-Clause "New" or "Revised" License
42 stars 3 forks source link

Flaky CI tests: `sqlalchemy` `QueuePool` #207

Closed kklein closed 9 months ago

kklein commented 9 months ago

For a while we have observed that our CI tests are flaky, e.g.

https://github.com/Quantco/datajudge/actions/runs/7889184078/job/21528439857

The error seems to always be:

sqlalchemy.exc.TimeoutError: QueuePool limit of size 5 overflow 10 reached, connection timed out, timeout 30.00 (Background on this error at: https://sqlalche.me/e/20/3o7r)