From c03f1ebe75ab5b156885b551eb3f1a243f945a0f Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Tue, 26 Mar 2013 12:54:03 +0100 Subject: [PATCH] test: ignore code coverage for CleanUpTest The tests under tests/phpunit/includes/normal/CleanUpTest.php do not use data provider. When being run for code coverage (bug 31518) they take so long that they ends up timing out. The whole class need to be refactored to use data providers (bug 46561). Change-Id: I78c270e71d23ffbab00d8812ee91d380aef342c6 --- tests/phpunit/includes/normal/CleanUpTest.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/phpunit/includes/normal/CleanUpTest.php b/tests/phpunit/includes/normal/CleanUpTest.php index 99ec05ddcb..68efd8607b 100644 --- a/tests/phpunit/includes/normal/CleanUpTest.php +++ b/tests/phpunit/includes/normal/CleanUpTest.php @@ -30,6 +30,10 @@ * * @ingroup UtfNormal * @group Large + * + * We ignore code coverage for this test suite until they are rewritten + * to use data providers (bug 46561). + * @codeCoverageIgnore */ class CleanUpTest extends MediaWikiTestCase { /** @todo document */ -- 2.20.1