raise timeout for ApiCreateAccountTest::testValid
authorAntoine Musso <hashar@free.fr>
Fri, 11 Jan 2013 09:46:18 +0000 (10:46 +0100)
committerAntoine Musso <hashar@free.fr>
Fri, 11 Jan 2013 09:46:18 +0000 (10:46 +0100)
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

tests/phpunit/includes/api/ApiAccountCreationTest.php

index 933db0d..a764e9d 100644 (file)
@@ -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;