From: Antoine Musso Date: Fri, 11 Jan 2013 09:46:18 +0000 (+0100) Subject: raise timeout for ApiCreateAccountTest::testValid X-Git-Tag: 1.31.0-rc.0~21069 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/ajouter.php?a=commitdiff_plain;h=2a00da0f0f6a4091a888b9656b897fd08f71647c;p=lhc%2Fweb%2Fwiklou.git raise timeout for ApiCreateAccountTest::testValid The ApiCreateAccountTest::testValid() test does multiple API request which might end up being a bit slow. That randomly cause random failures when running the test suite which tends to confuse people. Change-Id: I35a6670c61c7917522b2472a3a8e782e97e837f4 --- diff --git a/tests/phpunit/includes/api/ApiAccountCreationTest.php b/tests/phpunit/includes/api/ApiAccountCreationTest.php index 933db0d8e1..a764e9ddd9 100644 --- a/tests/phpunit/includes/api/ApiAccountCreationTest.php +++ b/tests/phpunit/includes/api/ApiAccountCreationTest.php @@ -13,6 +13,10 @@ class ApiCreateAccountTest extends ApiTestCase { /** * Test the account creation API with a valid request. Also * make sure the new account can log in and is valid. + * + * This test does multiple API requests so it might end up being + * a bit slow. Raise the default timeout. + * @group medium */ function testValid() { global $wgServer;