matthiasmullie created this task. matthiasmullie added a project: Wikidata-Campsite. Restricted Application added a subscriber: Aklapper. Restricted Application added a project: Wikidata.
TASK DESCRIPTION It appears that DataAccessSnakFormatterOutputFormatTest can fail in certain circumstances. When certain code is run before this test is, the tests suddenly start to fail. Apparently, even though a new 'reset' client (`WikibaseClient::getDefaultInstance( 'reset' )`) is constructed, it doesn't appear that the client is completely reset & some code still sticks around. The tests can be made to fail by adding this to `setUp`: WikibaseClient::getDefaultInstance()->getDataAccessSnakFormatterFactory()->newWikitextSnakFormatter( Language::factory( 'en' ), new HashUsageAccumulator() ); More details can be found on this patchset, in Lucas' notes on PS9: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/WikibaseMediaInfo/+/556981/9 TASK DETAIL https://phabricator.wikimedia.org/T240839 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: matthiasmullie Cc: matthiasmullie, Aklapper, darthmon_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs