https://bugzilla.wikimedia.org/show_bug.cgi?id=62937

            Bug ID: 62937
           Summary: ParserTests relies on caching for non-english tests.
           Product: Parsoid
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General
          Assignee: gwi...@wikimedia.org
          Reporter: canan...@wikimedia.org
                CC: jforres...@wikimedia.org, ssas...@wikimedia.org
       Web browser: ---
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to