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

--- Comment #10 from Brion Vibber <br...@wikimedia.org> 2011-04-08 21:10:28 UTC 
---
Still fails on trunk as of r85689...

Platonides, are there now two different ways of running the parser tests? It
kinda looks like some of the MediaWikiTestCase and NewParserTest.php stuff
duplicates code in parserTest.inc, and I've got a sneaking suspicion that this
is in the middle of a transition or something.


ParserTest::setupDatabase() in parserTest.inc has this comment:

  # SqlBagOStuff broke when using temporary tables on r40209 (bug 15892).
  # It seems to have been fixed since (r55079?).
  # If it fails, $wgCaches[CACHE_DB] = new HashBagOStuff(); should work around
it.

If I copy in this (newer) line from MediaWikiTestCase in that position:

  ObjectCache::$instances[CACHE_DB] = new HashBagOStuff;

it seems to help.

-- 
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