Last modified: 2012-04-16 09:15:36 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T28511, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26511 - PHPUnit tests fail b/c DB client is reconnecting and loses Temp tables
PHPUnit tests fail b/c DB client is reconnecting and loses Temp tables
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Unit tests (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Antoine "hashar" Musso (WMF)
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-12-30 18:42 UTC by Mark A. Hershberger
Modified: 2012-04-16 09:15 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Mark A. Hershberger 2010-12-30 18:42:20 UTC
$ ./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)
Comment 1 Chad H. 2011-01-06 22:23:35 UTC
Not installation, moved to unit tests.
Comment 2 Antoine "hashar" Musso (WMF) 2011-10-28 13:04:36 UTC
I am pretty sure this bug was fixed. At one point we had multiple database connection hence the temp table were effectively unavailable.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links