Last modified: 2014-07-24 22:13:31 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 T64937, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62937 - ParserTests relies on caching for non-english tests.
ParserTests relies on caching for non-english tests.
Status: NEW
Product: Parsoid
Classification: Unclassified
tests (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: C. Scott Ananian
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-21 21:08 UTC by C. Scott Ananian
Modified: 2014-07-24 22:13 UTC (History)
3 users (show)

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


Attachments

Description C. Scott Ananian 2014-03-21 21:08:31 UTC
I'm looking at a weird parsertests issue where tests for Archivo:Foobar.jpg only succeed iff a test with File:Foobar.jpg was run previously, which causes "Foobar.jpg" to be added to env.pageCache
Maybe we should empty out pageCache for each test? or when the test has a non-default language?  not sure how this should be fixed.
mockAPI doesn't recognize Archivo:Foobar.jpg as a valid file, which is part of the issue.

to reproduce easily, change 'if (queueKey in env.pageCache)' to 'if (false)' in ext.core.LinkHandler and re-run parsertests.

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


Navigation
Links