diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2024-03-21 17:48:16 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-21 17:48:16 +0000 |
commit | db95b7551504b394cee4f875865dc713239662f9 (patch) | |
tree | 355190948b4e508c379ecdf3981459cc9156d2f2 /synapse | |
parent | Bump netaddr from 0.9.0 to 1.2.1 (#17006) (diff) | |
download | synapse-db95b7551504b394cee4f875865dc713239662f9.tar.xz |
Patch the db conn pool sooner in tests (#17017)
When running unit tests, we patch the database connection pool so that it runs queries "synchronously". This is ok, except that if any queries are launched before we do the patching, those queries get left in limbo and never complete. To fix this, let's change the way we do the switcheroo, by patching out the method which creates the connection pool in the first place.
Diffstat (limited to 'synapse')
0 files changed, 0 insertions, 0 deletions