From 2a00da0f0f6a4091a888b9656b897fd08f71647c Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Fri, 11 Jan 2013 10:46:18 +0100 Subject: [PATCH] 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 --- tests/phpunit/includes/api/ApiAccountCreationTest.php | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.20.1