wiki.techinc.nl/tests/phpunit/integration/includes
Aaron Schulz eed58f2f61 rdbms: fix owner id and RELEASE_ALL_LOCKS query in session flushing methods
Use the LoadBalancer id in flushPrimarySessions(), not the LBFactory one,
and use assertOwnership() to check $owner, similar to other methods.

In DatabaseMysqlBase::doFlushSession(), change RELEASE_ALL_LOCKS() query
to use RELEASE_LOCK(), since only newer MariaDB versions (>=10.5.2) support
it. No errors were thrown in the method since they are suppressed, but the
syntax error would cause the transaction to be placed in an error state.

Add assertion to testTransactionCallbackChains() that would otherwise fail.

Randomize lock names in lock() tests to avoid contention.

Bug: T292239
Bug: T303887
Follow-Up: ee3c65d541
Follow-Up: 4cac31de4e
Change-Id: I414d737028338cfd5369eee24576df4aa26a2f6f
2022-03-17 02:55:43 +00:00
..
block Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
cache HtmlCacheUpdater: replace Title in method signatures. 2021-04-16 11:04:26 +00:00
CommentFormatter Merge "phpcs: Disable Generic.Files.LineLength for test files" 2022-02-21 15:51:29 +00:00
db rdbms: fix owner id and RELEASE_ALL_LOCKS query in session flushing methods 2022-03-17 02:55:43 +00:00
diff Add $wgDiffEngine 2019-11-05 10:38:52 -05:00
editpage/Constraint build: Updating dependencies 2021-07-22 03:36:05 +00:00
export Fix PHP 8.0 failure of WikiExporterFactoryTest 2022-01-21 15:20:57 +11:00
filerepo filerepo: remove repo name from getSharedCacheKey() 2020-11-16 17:28:31 -08:00
htmlform HTMLTitleTextField: Remove B&C code 2021-09-22 00:48:59 -07:00
language phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
libs/rdbms/resultwrapper Make IResultWrapper::seek() throw an exception 2021-08-02 11:37:45 +10:00
logging Convert LogPage to UserIdentity 2021-03-23 12:02:40 -06:00
page Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
parser Move Content::getParserOutput & AbstractContent::fillParserOutput to ContentHandler 2021-09-29 13:10:51 +03:00
Permissions RestrictionStoreTest: Don't access services in data providers 2021-12-08 15:54:13 +01:00
poolcounter phpunit: Mass-replace setMethods with onlyMethods and adjust 2021-04-16 20:15:00 +02:00
Rest/Handler Fix error message in test assertion 2022-03-09 16:29:25 -06:00
revisionlist tests: Use service container in integration tests cases 2021-09-05 22:14:36 +01:00
Storage Inject MainConfig into actions 2022-01-12 22:30:31 +01:00
user UserSelectQueryBuilderTest: Test behavior of hidden() 2021-12-20 15:59:15 +01:00
utils Use the unserialized form of image metadata internally 2021-06-08 17:04:01 +10:00
watchlist Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
SanitizerValidateEmailTest.php Cleanup some tests to reduce code duplications 2020-12-21 10:08:29 +00:00
StubGlobalUserTest.php Remove or replace usages of "sanity" 2021-11-21 16:42:31 +00:00
StubObjectTest.php StubObject: add magic __get() and __set() 2021-09-04 05:37:25 +00:00
TemplateParserIntegrationTest.php TemplateParser: Only hash unique files 2022-02-09 14:12:24 +00:00