Page MenuHomePhabricator

Intermittent BagOStuffTest failures for Redis
Open, MediumPublic

Description

To test, run:

php /vagrant/mediawiki/tests/phpunit/phpunit.php --use-bagostuff=redis /vagrant/mediawiki/tests/phpunit/includes/objectcache/BagOStuffTest.php

It occasionally fails (the reason for being non-deterministic may be the usleep) with:

BagOStuffTest::testMerge
Failed asserting that true is false.

BagOStuffTest::testGet
Array (...) does not match expected type "string".

BagOStuffTest::testGetMulti
Failed asserting that two arrays are equal.

or some combination thereof.


Version: 1.22.0
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=55986

Details

Reference
bz55987

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:22 AM
bzimport set Reference to bz55987.
bzimport added a subscriber: Unknown Object (MLST).