From a8ca2e0e3b0b90450d86f6db2acd4243032d5e05 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Wed, 29 Aug 2012 17:01:02 +0200 Subject: [PATCH] raise filerepo tests timeout to 10sec '@group medium' instructs PHPUnit to wait up to 10 seconds for the test to complete. That would save us from false positive caused by high disk I/O on the continuous integration server. Change-Id: Id11c3ed1879705f806d262dc8090ef2fb432ed36 --- tests/phpunit/includes/filerepo/FileBackendTest.php | 1 + tests/phpunit/includes/filerepo/StoreBatchTest.php | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/phpunit/includes/filerepo/FileBackendTest.php b/tests/phpunit/includes/filerepo/FileBackendTest.php index f9d78e5f4a..a2dc5c6ca3 100644 --- a/tests/phpunit/includes/filerepo/FileBackendTest.php +++ b/tests/phpunit/includes/filerepo/FileBackendTest.php @@ -3,6 +3,7 @@ /** * @group FileRepo * @group FileBackend + * @group medium */ class FileBackendTest extends MediaWikiTestCase { private $backend, $multiBackend; diff --git a/tests/phpunit/includes/filerepo/StoreBatchTest.php b/tests/phpunit/includes/filerepo/StoreBatchTest.php index 6abceeb33d..3ab56af870 100644 --- a/tests/phpunit/includes/filerepo/StoreBatchTest.php +++ b/tests/phpunit/includes/filerepo/StoreBatchTest.php @@ -1,6 +1,7 @@