From: Antoine Musso Date: Mon, 28 Jan 2013 11:33:22 +0000 (+0100) Subject: raise timeout for CdbTest::testCdb() X-Git-Tag: 1.31.0-rc.0~20888 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/ajouter.php?a=commitdiff_plain;h=a36db2e887aa6bc1dec9a52bb6003689d67daf01;p=lhc%2Fweb%2Fwiklou.git raise timeout for CdbTest::testCdb() CdbTest::testCdb() does some I/O which might timeout form time to time on the continuous integration server. Mark the test has being in the medium group, thus raising it from 2 seconds to 10 seconds. Change-Id: I4a8d7f443ab0ebf47d79f25e1c33832e6e501c51 --- diff --git a/tests/phpunit/includes/CdbTest.php b/tests/phpunit/includes/CdbTest.php index 32c84ef6f8..add585d71f 100644 --- a/tests/phpunit/includes/CdbTest.php +++ b/tests/phpunit/includes/CdbTest.php @@ -3,7 +3,6 @@ /** * Test the CDB reader/writer */ - class CdbTest extends MediaWikiTestCase { protected function setUp() { @@ -13,6 +12,9 @@ class CdbTest extends MediaWikiTestCase { } } + /** + * @group medium + */ public function testCdb() { $dir = wfTempDir(); if ( !is_writable( $dir ) ) {