Last modified: 2011-11-20 22:43:57 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 T31912, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29912 - Unit tests break if parsertest tables are still present
Unit tests break if parsertest tables are still present
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Unit tests (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Antoine "hashar" Musso (WMF)
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-15 19:09 UTC by Bryan Tong Minh
Modified: 2011-11-20 22:43 UTC (History)
3 users (show)

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


Attachments

Description Bryan Tong Minh 2011-07-15 19:09:08 UTC
Unit tests by phpunit are broken if they are run after running tests/parserTests.php on SQLite. This is caused by parsertest_searchindex still being present. DROP TABLE parsertest_searchindex fixes the issue.

PHPUnit 3.5.12 by Sebastian Bergmann.

.A database query syntax error has occurred.
The last attempted database query was:
"DELETE FROM unittest_parsertest_searchindex"
from within function "MediaWikiTestCase::resetDB".
Database returned error "1: SQL logic error or missing database"
Comment 1 Antoine "hashar" Musso (WMF) 2011-10-27 17:13:46 UTC
Applied as r101002
Should be released with 1.19
Comment 2 Antoine "hashar" Musso (WMF) 2011-10-27 17:13:59 UTC
I mean fixed, not applied :)
Comment 3 Antoine "hashar" Musso (WMF) 2011-11-20 22:43:57 UTC
Backported in 1.18 with r102535

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


Navigation
Links