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

Platonides <platoni...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |platoni...@gmail.com

--- Comment #16 from Platonides <platoni...@gmail.com> 2012-01-18 23:55:59 UTC 
---
(In reply to comment #11)
> I instrumented TestSuit.php (attached TestSuite.php.modified) to print out
> $wgLanguageCode on each test run. When I run make safe, its value changes to
> "zh" on the 429th ParserTest (attached Full Safe Tests Run.txt) and stays that
> way for the rest of the run. I couldn't figure out why until I looked at the
> incomplete tests. The 20th incomplete test changes the language to "zh"...

Tests changing the language should extend MediaWikiLangTestCase (which saves &
restores it), not MediaWikiTestCase.


> and then fails after 1 second. So, my guess is there is no proper unwinding of
> incomplete tests and they leave globals in a non-initialized state.

What I wonder is, what makes your tests to abort after 1 second?
I have never seen that myself.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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