Page MenuHomePhabricator

PHPUnit tests fail b/c DB client is reconnecting and loses Temp tables
Closed, DeclinedPublic

Description

$ ./phpunit.php
PHPUnit 3.5.5 by Sebastian Bergmann.

Test Suite
includes

 ApiWatchTest
A database query syntax error has occurred.

The last attempted database query was:
"REPLACE INTO unittest_objectcache (keyname,value,exptime) VALUES ('my_wiki-unittest_:pcache:idhash:1-0!*!*!!*!*','...','20101231183642')"
from within function "SqlBagOStuff::set".
Database returned error "1146: Table 'my_wiki.unittest_objectcache' doesn't exist (localhost)


Version: unspecified
Severity: enhancement

Details

Reference
bz26511

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:21 PM
bzimport set Reference to bz26511.

Not installation, moved to unit tests.

I am pretty sure this bug was fixed. At one point we had multiple database connection hence the temp table were effectively unavailable.