1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-22 21:22:40 +00:00

Speed up SQLite timeout tests

This commit is contained in:
J. King 2017-10-12 09:18:37 -04:00
parent 20ff08a431
commit 4ab004bbab

View file

@ -18,6 +18,7 @@ class TestDbDriverSQLite3 extends Test\AbstractTest {
$conf = new Conf();
Arsse::$conf = $conf;
$conf->dbDriver = Db\SQLite3\Driver::class;
$conf->dbSQLite3Timeout = 0;
$conf->dbSQLite3File = tempnam(sys_get_temp_dir(), 'ook');
$this->drv = new Db\SQLite3\Driver(true);
$this->ch = new \SQLite3(Arsse::$conf->dbSQLite3File);