Mark test incomplete for a legitimate reason like trying to serialize a PDO object...
authorChad Horohoe <demon@users.mediawiki.org>
Mon, 20 Jun 2011 20:24:53 +0000 (20:24 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Mon, 20 Jun 2011 20:24:53 +0000 (20:24 +0000)
tests/phpunit/includes/parser/NewParserTest.php

index b8c2519..eafad6a 100644 (file)
@@ -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 );