wiki.techinc.nl/tests/phpunit/unit/includes/libs
Aaron Schulz 8e1bb24eed rdbms: clean up LoadBalancer/ChronologyProtector primary pos methods
In LoadBalancer:
* Make the "chronologyCallback" return the DBPrimaryPos and make
  loadSessionPrimaryPos() set the "waitForPos" more directly by
  calling setSessionPrimaryPosIfHigher(). Previously, it relied
  on the callback calling waitFor() to set the position as a side
  effect.
* Remove redundant debug log entry in loadSessionPrimaryPos().
* Use type hints for waitFor()/waitForAll(). All callers already check
  this for before invocation.
* Mark getReplicaResumePos() as @internal.

In ChronologyProtector:
* Update applySessionReplicationPosition() to return the position.
* Rename applySessionReplicationPosition() to yieldSessionPrimaryPos()
  and stageSessionReplicationPosition() to stageSessionPrimaryPos() for
  for consistency LoadBalancer/DBPrimaryPos.

Bug: T314434
Change-Id: I32aa784b424e7534047c9240e32fa5e0a2ac90b0
2023-02-09 17:19:36 +00:00
..
composer
DebugInfo Add some helpers to filter properties out of var_dump() 2022-10-12 12:42:23 -04:00
filebackend
http Drop some pre-7.4 php compat code 2022-09-29 14:40:13 +00:00
Message
Metrics Metrics: move metric implementations to subdirectory 2022-11-09 19:53:32 -01:00
mime
objectcache objectcache: Fix flaky WANObjectCacheTest::testLockTSESlow case 2023-01-13 23:46:51 +00:00
ParamValidator tests: Remove assertion of spec in ParamValidatorTest::testGetTypeDef 2023-01-06 04:01:09 +01:00
rdbms rdbms: clean up LoadBalancer/ChronologyProtector primary pos methods 2023-02-09 17:19:36 +00:00
stats
WRStats
ArrayUtilsTest.php Use array_key_first()/array_key_last() in some places 2022-10-21 15:01:59 +11:00
CookieTest.php
DeflateTest.php
DnsSrvDiscovererTest.php tests: Replace assertEmpty with assertSame 2022-11-25 00:42:53 +01:00
GhostFieldAccessTraitTest.php
HashRingTest.php
HtmlArmorTest.php
JsMinPlusTest.php
MapCacheLRUTest.php Remove pre PHP 7.4 serialize()/unserialize() 2022-11-10 19:25:01 +00:00
MemoizedCallableTest.php
MWCryptHashTest.php
SamplingStatsdClientTest.php
StaticArrayWriterTest.php
StringUtilsTest.php
TimingTest.php Use native array_column() in tests instead of loops 2022-08-16 15:41:14 +02:00
XhprofDataTest.php Use short array destructuring instead of list() 2022-10-21 15:33:37 +11:00
XmlTypeCheckTest.php