wiki.techinc.nl/tests/phpunit/includes
Aaron Schulz 6d0108d533 Fix slow callbacks in getWithSetCallback() using lockTSE
* Keys that take a long time to generate would run into
  the MAX_SNAPSHOT_LAG check and have set() no-op. This
  would be fine except that leaves no key there to figure
  out the time since expiry and therefore whether to use
  the mutex, so it didn't. This now saves the keys but with
  a FLG_STALE bit set, making the next caller that sees it
  perform a regeneration (unless it can't get the mutex).
* Bumped LOCK_TTL so that keys can stay locked much longer.
* This is easy to test via sleep(5) in tagUsageStatistics()
  and two Special:Tags browser tabs.

Bug: T91535
Change-Id: I549e70ace3d2e7da40d3c4346ebacc36024cd522
2015-10-28 23:31:37 +00:00
..
actions Some bugzilla.wikimedia.org -> phabricator.wikimedia.org changes 2015-09-24 17:17:25 +02:00
api User: Mostly remove password handling 2015-10-13 16:10:41 -06:00
cache User: Mostly remove password handling 2015-10-13 16:10:41 -06:00
changes Enable users to watch category membership changes #2 2015-10-20 14:23:48 -07:00
composer
config Fix whitespace issues around parentheses 2015-06-16 22:14:02 +03:00
content JavaScriptContentTest: $wgScript != $wgScriptPath 2015-10-26 23:05:15 +01:00
context
db Fix DatabaseSqlite::__toString 2015-10-05 20:54:11 +00:00
debug Use the frame 'type' in wfFormatStackFrame, like MWExceptionHandler::prettyPrintTrace 2015-10-14 16:40:02 +01:00
deferred Enable users to watch category membership changes #2 2015-10-20 14:23:48 -07:00
diff Fix whitespace issues around parentheses 2015-06-16 22:14:02 +03:00
exception Fix whitespace issues around parentheses 2015-06-16 22:14:02 +03:00
externalstore
filebackend Added replication=async option to FileBackendMultiWrite 2015-10-01 23:30:41 +00:00
filerepo Make lines short to pass phpcs in 3 files under tests/phpunit/includes/ 2015-10-01 19:00:40 +00:00
GlobalFunctions resourceloader: Consistently refer to the framework as ResourceLoader 2015-10-28 03:24:40 +00:00
htmlform Explicitly declare property visibility, remove use of var 2015-06-21 00:07:13 +03:00
installer
jobqueue
json
libs Fix slow callbacks in getWithSetCallback() using lockTSE 2015-10-28 23:31:37 +00:00
logging Skip user namespace prefix for rights log entry 2015-10-10 07:38:10 +02:00
mail Fix Generic.Files.LineLength phpcs check in files under phpunit/includes 2015-10-03 17:13:29 +00:00
media Fix remaining Generic.Files.LineLength failures 2015-10-03 17:23:07 +00:00
objectcache Move MultiWriteBagOStuff to /libs 2015-10-24 12:15:26 -07:00
page Added DeleteLinksJob to support purging backlinks via job runners 2015-09-29 17:40:19 -07:00
parser Make lines short to pass phpcs in parser tests PHP files 2015-10-01 19:40:18 +00:00
password User: Mostly remove password handling 2015-10-13 16:10:41 -06:00
phpunit Include phpunit license for backported classes 2015-09-25 11:18:20 -07:00
poolcounter
registration Fix Generic.Files.LineLength phpcs check in files under phpunit/includes 2015-10-03 17:13:29 +00:00
resourceloader resourceloader: Disable flaky test ResourceLoaderModule::getVersionHash 2015-10-20 02:58:12 +01:00
search
site Fix issues identified by SpaceBeforeSingleLineComment sniff 2015-09-26 23:06:52 +00:00
skins
specialpage
specials Enable users to watch category membership changes #2 2015-10-20 14:23:48 -07:00
title Fix issues identified by SpaceBeforeSingleLineComment sniff 2015-09-26 23:06:52 +00:00
upload Fix Generic.Files.LineLength phpcs check in files under phpunit/includes 2015-10-03 17:13:29 +00:00
utils Make WANObjectCache sets account for slave lag 2015-10-05 16:45:13 -07:00
BlockTest.php User: Mostly remove password handling 2015-10-13 16:10:41 -06:00
CollationTest.php
DiffHistoryBlobTest.php
EditPageTest.php Fix issues identified by SpaceBeforeSingleLineComment sniff 2015-09-26 23:06:52 +00:00
ExtraParserTest.php Abstract and refactor Tidy support 2015-09-10 20:18:52 -07:00
FallbackTest.php Fix issues identified by SpaceBeforeSingleLineComment sniff 2015-09-26 23:06:52 +00:00
FauxRequestTest.php FauxRequest: Avoid header leak 2015-09-16 16:52:58 +00:00
FauxResponseTest.php FauxResponse: Honor cookie options, and other cleanup 2015-09-29 22:45:56 +00:00
FormOptionsInitializationTest.php
FormOptionsTest.php
GitInfoTest.php
HooksTest.php
HtmlFormatterTest.php Some bugzilla.wikimedia.org -> phabricator.wikimedia.org changes 2015-09-24 17:17:25 +02:00
HtmlTest.php Fix issues identified by SpaceBeforeSingleLineComment sniff 2015-09-26 23:06:52 +00:00
HttpTest.php Fix issues identified by SpaceBeforeSingleLineComment sniff 2015-09-26 23:06:52 +00:00
ImportLinkCacheIntegrationTest.php Follow-up a43af3bc: Add Import integration test 2015-05-25 10:07:06 +02:00
ImportTest.php Use ImportStringSource for simple import sources 2015-10-22 23:26:53 +02:00
LicensesTest.php
LinkerTest.php Fix remaining Generic.Files.LineLength failures 2015-10-03 17:23:07 +00:00
LinkFilterTest.php Remove empty line comments 2015-10-14 09:46:44 +02:00
MediaWikiTest.php MediaWiki.php: Redirect non-standard title urls to canonical 2015-06-23 06:19:07 +00:00
MediaWikiVersionFetcherTest.php
MessageTest.php Merge "Allow constructing a Message from a MessageSpecifier" 2015-07-20 23:05:26 +00:00
MimeMagicTest.php Move several unit tests to directly subclass PHPUnit_Framework_TestCase 2015-06-09 10:03:23 -07:00
MovePageTest.php Fix whitespace issues around parentheses 2015-06-16 22:14:02 +03:00
MWNamespaceTest.php Fix issues identified by SpaceBeforeSingleLineComment sniff 2015-09-26 23:06:52 +00:00
MWTimestampTest.php
OutputPageTest.php Fix-up for I949fc289d: handle falsy cookie values correctly 2015-10-07 22:19:47 -07:00
PathRouterTest.php
PreferencesTest.php
PrefixSearchTest.php Skip adding wikitext test pages in PrefixSearchTest if NS_MAIN is not wikitext 2015-08-14 11:32:08 +02:00
RevisionStorageTest.php Fix issues identified by SpaceBeforeSingleLineComment sniff 2015-09-26 23:06:52 +00:00
RevisionStorageTestContentHandlerUseDB.php
RevisionTest.php Fix issues identified by SpaceBeforeSingleLineComment sniff 2015-09-26 23:06:52 +00:00
SampleTest.php Fix the last Generic.Files.LineLength phpcs failures 2015-10-03 18:08:49 +00:00
SanitizerTest.php Abstract and refactor Tidy support 2015-09-10 20:18:52 -07:00
SanitizerValidateEmailTest.php Move several unit tests to directly subclass PHPUnit_Framework_TestCase 2015-06-09 10:03:23 -07:00
SiteConfigurationTest.php
StatusTest.php Fix issues identified by SpaceBeforeSingleLineComment sniff 2015-09-26 23:06:52 +00:00
TemplateCategoriesTest.php
TemplateParserTest.php Support mustache partials in server-side templates 2015-07-06 20:13:45 -07:00
TestingAccessWrapper.php Fix TestingAccessWrapper private property access and parent classes 2015-09-09 11:44:03 -04:00
TestingAccessWrapperTest.php Fix TestingAccessWrapper private property access and parent classes 2015-09-09 11:44:03 -04:00
TestUser.php User: Mostly remove password handling 2015-10-13 16:10:41 -06:00
TimeAdjustTest.php
TitleArrayFromResultTest.php Fix issues identified by SpaceBeforeSingleLineComment sniff 2015-09-26 23:06:52 +00:00
TitleMethodsTest.php Reset Title cache when importing titles. 2015-05-24 17:55:08 +02:00
TitlePermissionTest.php Fix issues identified by SpaceBeforeSingleLineComment sniff 2015-09-26 23:06:52 +00:00
TitleTest.php Make lines short to pass phpcs in 2 files under tests/phpunit/includes/ 2015-09-30 16:17:35 +00:00
UserArrayFromResultTest.php Fix issues identified by SpaceBeforeSingleLineComment sniff 2015-09-26 23:06:52 +00:00
UserTest.php User: Mostly remove password handling 2015-10-13 16:10:41 -06:00
WebRequestTest.php
WikiMapTest.php Make WikiMap fall back to sites if a site couldn't be found using $wgConf 2015-10-07 14:59:31 +02:00
WikiReferenceTest.php Fix remaining Generic.Files.LineLength failures 2015-10-03 17:23:07 +00:00
XmlJsTest.php Move several unit tests to directly subclass PHPUnit_Framework_TestCase 2015-06-09 10:03:23 -07:00
XmlSelectTest.php
XmlTest.php Use XmlSelect to simplify Xml::monthSelector 2015-06-06 20:26:57 -04:00