Page MenuHomePhabricator

ParserTests break when BagOStuff is not able to cache
Closed, DeclinedPublic

Description

Author: Bryan.TongMinh

Description:
The following ParserTests break:

Running test Bad images - basic functionality... FAILED!
Running test Bad images - bug 16039: text after bad image disappears... FAILED!

But only if BagOStuff::set returns false, indicating that storing in the user cache failed. If BagOStuff::set returns true even if it is not able to store into the cache, the tests pass. If the cache type is CACHE_NONE, the tests pass.

I only tested this with wincache.

(For reference, r78322 introduced the false return value on failure)


Version: unspecified
Severity: enhancement

Details

Reference
bz27738

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 11:25 PM
bzimport set Reference to bz27738.
bzimport added a subscriber: Unknown Object (MLST).
Krinkle set Security to None.
Krinkle added a project: MediaWiki-Parser.
Krinkle edited subscribers, added: aaron, Legoktm; removed: wikibugs-l-list.
Krinkle subscribed.

These two "Bad images" tests were disabled in 6bd31e7d95161a6e88fa86df60871051da997c3c.