From d12cc8a163e859eded118667ef76c82304a9c148 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Mon, 20 Jun 2011 20:24:53 +0000 Subject: [PATCH] Mark test incomplete for a legitimate reason like trying to serialize a PDO object--rather than imaginary ones such as blaming memory_limit being too low when the test was being stupid and lowering it for us. --- tests/phpunit/includes/parser/NewParserTest.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/phpunit/includes/parser/NewParserTest.php b/tests/phpunit/includes/parser/NewParserTest.php index b8c2519926..eafad6a3ec 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( 'Breaks tesla due to memory restrictions' ); + $this->markTestIncomplete( "Somebody is serializing PDO objects, that's a no-no" ); global $wgParserTestFiles; @@ -564,8 +564,6 @@ 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