Last modified: 2013-12-05 10:02:54 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 T39600, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37600 - WikiPageTest::testDoDeleteUpdates fails on PostgreSQL
WikiPageTest::testDoDeleteUpdates fails on PostgreSQL
Status: NEW
Product: MediaWiki
Classification: Unclassified
Unit tests (Other open bugs)
1.20.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 36759 37702
Blocks: postgres
  Show dependency treegraph
 
Reported: 2012-06-14 17:32 UTC by Marcin Cieślak
Modified: 2013-12-05 10:02 UTC (History)
7 users (show)

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


Attachments

Description Marcin Cieślak 2012-06-14 17:32:28 UTC
+++ This bug was initially created as a clone of Bug #36759 +++

WikiPageTest::testDoDeleteUpdates. re-introduced Gerrit change #7967, fails:


$ sh -x /usr/home/saper/bin/runphpunit.sh /usr/home/saper/public_html/pg/w/tests/phpunit/includes/WikiPageTest.php
+ php -c /usr/home/saper/php.ini tests/phpunit/phpunit.php --configuration tests/phpunit/suite.xml --exclude-group Broken,Stub,Dump,ParserFuzz --log-junit /usr/home/saper/tests/log/postgres-log.xml /usr/home/saper/public_html/pg/w/tests/phpunit/includes/WikiPageTest.php
PHPUnit 3.6.10 by Sebastian Bergmann.

Configuration read from /usr/home/saper/public_html/pg/w/tests/phpunit/suite.xml

..FF................................................

Time: 4 seconds, Memory: 48.75Mb

There were 2 failures:

1) WikiPageTest::testDoDeleteArticle
pagelinks should contain no more links from the page
Failed asserting that 1 matches expected 0.

/usr/home/saper/public_html/pg/w/tests/phpunit/includes/WikiPageTest.php:144
/usr/home/saper/public_html/pg/w/tests/phpunit/MediaWikiTestCase.php:75
/usr/home/saper/public_html/pg/w/tests/phpunit/MediaWikiPHPUnitCommand.php:45
/usr/home/saper/public_html/pg/w/tests/phpunit/phpunit.php:103

2) WikiPageTest::testDoDeleteUpdates
pagelinks should contain no more links from the page
Failed asserting that 1 matches expected 0.

/usr/home/saper/public_html/pg/w/tests/phpunit/includes/WikiPageTest.php:159
/usr/home/saper/public_html/pg/w/tests/phpunit/MediaWikiTestCase.php:75
/usr/home/saper/public_html/pg/w/tests/phpunit/MediaWikiPHPUnitCommand.php:45
/usr/home/saper/public_html/pg/w/tests/phpunit/phpunit.php:103

FAILURES!
Tests: 52, Assertions: 91, Failures: 2.

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


Navigation
Links