Skip to content
Snippets Groups Projects
Unverified Commit db95b755 authored by Richard van der Hoff's avatar Richard van der Hoff Committed by GitHub
Browse files

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.
parent 4c98aad4
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment