Last modified: 2014-07-30 08:25:34 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 T54274, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52274 - parser tests should die, when test printed something
parser tests should die, when test printed something
Status: NEW
Product: MediaWiki
Classification: Unclassified
Unit tests (Other open bugs)
1.22.0
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-30 13:05 UTC by Umherirrender
Modified: 2014-07-30 08:25 UTC (History)
3 users (show)

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


Attachments

Description Umherirrender 2013-07-30 13:05:04 UTC
Running php \tests\parserTests.php --quiet

Gives following output:
 
This is MediaWiki version 1.22alpha (8994a5f).

Notice: LCStore_DB::startWrite: Transaction already in progress (from LocalFile::recordUpload2),  performing implicit commit!
[Called from DatabaseBase::begin in \includes\db\Database.php at line 3162] in \includes\debug\Debug.php on line 296

Notice: LocalFile::recordUpload2: No transaction to commit, something got out of sync!
[Called from DatabaseBase::commit in \includes\db\Database.php at line 3214] in \includes\debug\Debug.php on line 296

Notice: WikiPage::doEditContent: Transaction already in progress (from LocalFile::lock), performing implicit commit!
[Called from DatabaseBase::begin in \includes\db\Database.php at line 3162] in \includes\debug\Debug.php on line 296

Passed 985 of 985 tests (100%)... ALL TESTS PASSED!

The notice should trigger a failed test.
Comment 1 Gerrit Notification Bot 2014-06-10 22:14:54 UTC
Change 138740 had a related patch set uploaded by Aaron Schulz:
Improved DB handling in LCStoreDB

https://gerrit.wikimedia.org/r/138740
Comment 2 Umherirrender 2014-07-30 08:25:34 UTC
Gerrit change #138740 fixed the transcation problems where the printing came from, but the test still not failing, when printing.

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


Navigation
Links