diff options
author | Brad Jorsch <bjorsch@wikimedia.org> | 2013-01-18 14:02:28 -0500 |
---|---|---|
committer | Brad Jorsch <bjorsch@wikimedia.org> | 2013-01-18 14:07:49 -0500 |
commit | 252ae6268bb33360fa2f918a264364ef3d52323c (patch) | |
tree | 5b6b558b224e94cf5dd472c71bbfbc2d5888eeda /tests/phpunit/includes/api/ApiQueryTest.php | |
parent | 258929f57248879e30749ff6007e545f36623a0a (diff) | |
download | mediawikicore-252ae6268bb33360fa2f918a264364ef3d52323c.tar.gz mediawikicore-252ae6268bb33360fa2f918a264364ef3d52323c.zip |
(bug 43762) Mark slow unit test as @group medium
All tests based on APITestCase can be slow. I've also seen more than one
Jenkins failure due to GlobalTest::testMerge timing out.
Also, added a meta-test on APITestCase to make sure that all its
subclasses are marked with @group medium or @group large, to prevent new
tests from re-causing the bug.
Change-Id: I48630736a3d06574876fd1fa3d90899cfbc48012
Diffstat (limited to 'tests/phpunit/includes/api/ApiQueryTest.php')
-rw-r--r-- | tests/phpunit/includes/api/ApiQueryTest.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/phpunit/includes/api/ApiQueryTest.php b/tests/phpunit/includes/api/ApiQueryTest.php index dbf02f7d8fc9..1b1886e17d63 100644 --- a/tests/phpunit/includes/api/ApiQueryTest.php +++ b/tests/phpunit/includes/api/ApiQueryTest.php @@ -3,6 +3,7 @@ /** * @group API * @group Database + * @group medium */ class ApiQueryTest extends ApiTestCase { |