Smalyshev has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/314791

Change subject: Disable reportDupes for unit tests
......................................................................

Disable reportDupes for unit tests

Bug: T147697
Change-Id: Ibd5901767be0d12d2aa50a4fc48b117711e6cf98
---
M tests/phpunit/MediaWikiTestCase.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/91/314791/1

diff --git a/tests/phpunit/MediaWikiTestCase.php 
b/tests/phpunit/MediaWikiTestCase.php
index e53a958..9599016 100644
--- a/tests/phpunit/MediaWikiTestCase.php
+++ b/tests/phpunit/MediaWikiTestCase.php
@@ -242,7 +242,7 @@
                 * which we can't allow, as that would open a new connection 
for mysql.
                 * Replace with a HashBag. They would not be going to persist 
anyway.
                 */
-               $hashCache = [ 'class' => 'HashBagOStuff' ];
+               $hashCache = [ 'class' => 'HashBagOStuff', 'reportDupes' => 
false ];
                $objectCaches = [
                                CACHE_DB => $hashCache,
                                CACHE_ACCEL => $hashCache,

-- 
To view, visit https://gerrit.wikimedia.org/r/314791
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibd5901767be0d12d2aa50a4fc48b117711e6cf98
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Smalyshev <smalys...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to