Last modified: 2013-09-18 15:40:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T53570, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51570 - unit tests fail depending on execution order
unit tests fail depending on execution order
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-17 20:02 UTC by Daniel Kinzler
Modified: 2013-09-18 15:40 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel Kinzler 2013-07-17 20:02:33 UTC
Some unit tests apparently leak state and cause other unit tests to fail, depending on the order of execution:

* GetEntitiesTest fails if executed after PermissionsTest.
* EditEntityTest fails if executed after ItemContentTest.
Comment 1 Addshore 2013-08-13 10:42:50 UTC
Once all of the api tests are refactored and 51681 is closed I imagine this will no longer be a problem.
Comment 2 Addshore 2013-09-04 11:06:17 UTC
No api tests now depend on entity IDs or order of execution.
This should no longer be a problem.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links