dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
objectcache: fix race condition in SqlBagOStuff::changeTTL
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
libs
/
objectcache
/
BagOStuffTest.php
diff --git
a/tests/phpunit/includes/libs/objectcache/BagOStuffTest.php
b/tests/phpunit/includes/libs/objectcache/BagOStuffTest.php
index
3d8c9cb
..
e9b3d62
100644
(file)
--- a/
tests/phpunit/includes/libs/objectcache/BagOStuffTest.php
+++ b/
tests/phpunit/includes/libs/objectcache/BagOStuffTest.php
@@
-16,7
+16,7
@@
class BagOStuffTest extends MediaWikiTestCase {
parent::setUp();
// type defined through parameter
- if ( $this->getCliArg( 'use-bagostuff' ) ) {
+ if ( $this->getCliArg( 'use-bagostuff' )
!== null
) {
$name = $this->getCliArg( 'use-bagostuff' );
$this->cache = ObjectCache::newFromId( $name );