Page MenuHomePhabricator

Write integration tests for XML dumps with multiple MCR slots per revision
Open, MediumPublic

Description

The existing PHPUnit tests for the 0.11 schema do not cover dumps of revisions that contain slots beyond the main slot. This needs to be fixed before we start using the 0.11 schema in production.

Implementation note: this can probable be achieved best by rewriting the tests to check the output against fixture files, instead of validating the contents of the dump files programmatically.

Details

Related Gerrit Patches:

Event Timeline

daniel claimed this task.Dec 9 2019, 1:41 PM
daniel created this task.
daniel updated the task description. (Show Details)

Change 554919 had a related patch set uploaded (by Daniel Kinzler; owner: Daniel Kinzler):
[mediawiki/core@master] WIP: Make dump tests based on fixture files.

https://gerrit.wikimedia.org/r/554919

daniel triaged this task as Medium priority.Dec 12 2019, 1:31 PM