From 082ed03c88e009df70d5d131cec8f6fcb56c2917 Mon Sep 17 00:00:00 2001 From: Ori Livneh Date: Fri, 25 Mar 2016 13:57:28 -0700 Subject: [PATCH] Clear process cache in parser tests Have the parser test set-up code call WANObjectCache::clearProcessCache(). d1c4eafef5 added this to the PHPUnit test set-up code, but not the parser tests'. Change-Id: I870c8bae0336afc499224e4c937c6b8d6ab4d457 --- tests/parser/parserTest.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/parser/parserTest.inc b/tests/parser/parserTest.inc index 15f2dcf235..56108c96e8 100644 --- a/tests/parser/parserTest.inc +++ b/tests/parser/parserTest.inc @@ -619,6 +619,7 @@ class ParserTest { $titleText = 'Parser test'; } + ObjectCache::getMainWANInstance()->clearProcessCache(); $local = isset( $opts['local'] ); $preprocessor = isset( $opts['preprocessor'] ) ? $opts['preprocessor'] : null; $parser = $this->getParser( $preprocessor ); -- 2.20.1