If this was needed to use MockSearch, it will also be needed after it has run, so...
authorPlatonides <platonides@users.mediawiki.org>
Mon, 15 Nov 2010 20:40:49 +0000 (20:40 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Mon, 15 Nov 2010 20:40:49 +0000 (20:40 +0000)
maintenance/tests/phpunit/includes/search/SearchUpdateTest.php

index 4555bb1..9295ac7 100644 (file)
@@ -91,6 +91,8 @@ class SearchUpdateTest extends PHPUnit_Framework_TestCase {
                $wgDBtype = self::$dbtype;
                $wgLBFactoryConf = self::$factoryconf;
                $wgDBservers = self::$dbservers;
+
+               wfGetLBFactory()->destroyInstance();
        }
 
        function testUpdateText() {