From: Antoine Musso Date: Mon, 26 Nov 2012 13:49:52 +0000 (+0100) Subject: mark ApiEditPageTest as being slow tests X-Git-Tag: 1.31.0-rc.0~21520^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=bc77c6376f7833b575e95792e1574ea48165b91b mark ApiEditPageTest as being slow tests The edit conflict tests can take quiet a while to execute, definitely more than the default 2 seconds we allocated to test. Marking the class with '@group medium', in the comment, instructs PHPUnit to apply a timeout of 10 seconds. Change-Id: Icdd78ea43c91eeca7d4a00bfe6bb368bb3b8f891 --- diff --git a/tests/phpunit/includes/api/ApiEditPageTest.php b/tests/phpunit/includes/api/ApiEditPageTest.php index a95ab85f0b..eaab30010a 100644 --- a/tests/phpunit/includes/api/ApiEditPageTest.php +++ b/tests/phpunit/includes/api/ApiEditPageTest.php @@ -7,6 +7,7 @@ * * @group API * @group Database + * @group medium */ class ApiEditPageTest extends ApiTestCase {