dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b1f5ff
)
Use memory job queue for unit tests
author
Aaron Schulz
<aschulz@wikimedia.org>
Mon, 12 Sep 2016 00:23:54 +0000
(17:23 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Mon, 12 Sep 2016 00:23:54 +0000
(17:23 -0700)
Change-Id: I13586b9873bf09acd4a458a7af75a25d9b980fca
tests/phpunit/MediaWikiTestCase.php
patch
|
blob
|
history
diff --git
a/tests/phpunit/MediaWikiTestCase.php
b/tests/phpunit/MediaWikiTestCase.php
index
50b3390
..
18b9dc8
100644
(file)
--- a/
tests/phpunit/MediaWikiTestCase.php
+++ b/
tests/phpunit/MediaWikiTestCase.php
@@
-256,6
+256,7
@@
abstract class MediaWikiTestCase extends PHPUnit_Framework_TestCase {
$defaultOverrides->set( 'ObjectCaches', $objectCaches );
$defaultOverrides->set( 'MainCacheType', CACHE_NONE );
+ $defaultOverrides->set( 'JobTypeConf', [ 'default' => [ 'class' => 'JobQueueMemory' ] ] );
// Use a fast hash algorithm to hash passwords.
$defaultOverrides->set( 'PasswordDefault', 'A' );