From a36db2e887aa6bc1dec9a52bb6003689d67daf01 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Mon, 28 Jan 2013 12:33:22 +0100 Subject: [PATCH] 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 --- tests/phpunit/includes/CdbTest.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 ) ) { -- 2.20.1