summary refs log tree commit diff
path: root/rust
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2024-03-21 17:48:16 +0000
committerGitHub <noreply@github.com>2024-03-21 17:48:16 +0000
commitdb95b7551504b394cee4f875865dc713239662f9 (patch)
tree355190948b4e508c379ecdf3981459cc9156d2f2 /rust
parentBump netaddr from 0.9.0 to 1.2.1 (#17006) (diff)
downloadsynapse-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 'rust')
0 files changed, 0 insertions, 0 deletions