raise timeout for CdbTest::testCdb()
authorAntoine Musso <hashar@free.fr>
Mon, 28 Jan 2013 11:33:22 +0000 (12:33 +0100)
committerAntoine Musso <hashar@free.fr>
Mon, 28 Jan 2013 11:33:22 +0000 (12:33 +0100)
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

index 32c84ef..add585d 100644 (file)
@@ -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 ) ) {