Skip to content
Snippets Groups Projects
Commit 1106acba authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

Speed up the recently added "database is busy" SQLite3 test

It was passing but only after ~57 seconds because the busy_timeout setting in
the test definition was being applied to a different connection than was being
used by the implementation.

With this change we hook into the connection function and apply the shorter
busy_timeout after the normal setup work is done but before handing the
connection off to application code.
parent b2e1b3b9
No related branches found
No related tags found
Loading
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