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 /changelog.d | |
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 'changelog.d')
-rw-r--r-- | changelog.d/17017.misc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/17017.misc b/changelog.d/17017.misc new file mode 100644 index 0000000000..c8af23d67a --- /dev/null +++ b/changelog.d/17017.misc @@ -0,0 +1 @@ +Patch the db conn pool sooner in tests. |