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
Support custom query in pt-heartbeat lag detection
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
db
/
DatabaseMysqlBaseTest.php
diff --git
a/tests/phpunit/includes/db/DatabaseMysqlBaseTest.php
b/tests/phpunit/includes/db/DatabaseMysqlBaseTest.php
index
168b2c6
..
bb747c7
100644
(file)
--- a/
tests/phpunit/includes/db/DatabaseMysqlBaseTest.php
+++ b/
tests/phpunit/includes/db/DatabaseMysqlBaseTest.php
@@
-339,7
+339,7
@@
class DatabaseMysqlBaseTest extends MediaWikiTestCase {
$db->expects( $this->any() )
->method( 'getHeartbeatData' )
- ->with(
172
)
+ ->with(
[ 'server_id' => 172 ]
)
->will( $this->returnValue( [ $ptTimeISO, $now ] ) );
$db->setLBInfo( 'clusterMasterHost', 'db1052' );