From d80b53f982ccb8e5ed7670a1745c23d3b6d6cc13 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Thu, 21 Jul 2011 22:04:55 +0000 Subject: [PATCH] self rv r90483. Still needs investigating though --- tests/phpunit/includes/parser/NewParserTest.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/phpunit/includes/parser/NewParserTest.php b/tests/phpunit/includes/parser/NewParserTest.php index f4d5f75789..a6ca36b7a0 100644 --- a/tests/phpunit/includes/parser/NewParserTest.php +++ b/tests/phpunit/includes/parser/NewParserTest.php @@ -551,7 +551,7 @@ class NewParserTest extends MediaWikiTestCase { */ function testFuzzTests() { - $this->markTestIncomplete( "Somebody is serializing PDO objects, that's a no-no" ); + $this->markTestIncomplete( 'Breaks tesla due to memory restrictions' ); global $wgParserTestFiles; @@ -564,6 +564,8 @@ class NewParserTest extends MediaWikiTestCase { $dict = $this->getFuzzInput( $files ); $dictSize = strlen( $dict ); $logMaxLength = log( $this->maxFuzzTestLength ); + + ini_set( 'memory_limit', $this->memoryLimit * 1048576 ); $user = new User; $opts = ParserOptions::newFromUser( $user ); -- 2.20.1