379da4ed

By: Michael Lynch <git@mtlynch.io>

Use memdb test databases in SQLite test helper

Open test SQLite databases with memdb.TestDB so tests use the helper's
per-test database lifecycle instead of generating random VFS names locally.

Accept an already-open *sql.DB in sqlite.New so production and tests both
open their database handles explicitly before store initialization.

Suite timing

Time to Start Worker time Duration Time to finish
Config 0s 1s 1s 1s
Eval 1s 47s 47s 49s
Build 3s 4m15s 1m02s 1m05s
Test - - - -
Deploy - - - -
Suite 0s 5m05s 1m05s 1m05s

Timeline

0s10s20s30s40s50s1m