Minimal test case should be a file with 2 file revisions and 2 text revisions that go through the import process.
Assertions must check both, the old revisions and the current one.
Description
Details
Related Objects
- Mentioned In
- rEFLIcf0c33f89e8c: Extend Importer integration test using multiple revisions
rEFLI1276cdaeab92: Extend Importer integration test using multiple revisions
rEFLIa02cee97a4ea: Extend Importer integration test using multiple revisions
rEFLI9483b7227b3a: Extend Importer integration test using multiple revisions
rEFLIf16f10ef1d61: Extend Importer integration test using multiple revisions
rEFLI46dca71c7ee5: Extend Importer integration test using multiple revisions
rEFLIc11f15d4b82a: Extend Importer integration test using multiple revisions
rEFLIdf7616638d76: Extend Importer integration test using multiple revisions
rEFLI3c029ca5d9e1: Extend Importer integration test using multiple revisions
rEFLI7579034b5acc: Extend Importer integration test using multiple revisions
rEFLI5cf70eb6e8bd: Extend Importer integration test using multiple revisions
rEFLIaa54178c6c6a: [WIP] Extend Importer integration test using multiple revisions
rEFLI33ef14c3322a: [WIP] Extend Importer integration test using multiple revisions
rEFLI7c578c2187a6: Extend Importer integration test using multiple revisions
rEFLI70409d62edc4: [WIP] Extend Importer integration test using multiple revisions
rEFLI0bc487e514ac: Add integration test for FileRevisionFromRemoteUrl
rEFLI51a51333f7cb: Add ImporterComponentTest
rEFLI93141d052e86: Add ImporterComponentTest
rEFLI94209ab3b0ed: Add ImporterComponentTest
rEFLIf6a9bc459171: Add ImporterComponentTest
rEFLId8b118ae358c: Add integration test for TextRevisionFromTextRevision
rEFLI0bfa82e2a4c6: Add ImporterComponentTest
rEFLI00e83741ba4c: Add integration test for TextRevisionFromTextRevision
rEFLI95652c3116ef: Add ImporterComponentTest
rEFLIf47ae5614e8b: Add integration test for TextRevisionFromTextRevision - Mentioned Here
- T200001: Quickly importing two versions of a file leads to timing issues in LocalFile.php
Event Timeline
Change 444010 had a related patch set uploaded (by WMDE-Fisch; owner: WMDE-Fisch):
[mediawiki/extensions/FileImporter@master] Add integration test for TextRevisionFromTextRevision
Change 444010 merged by jenkins-bot:
[mediawiki/extensions/FileImporter@master] Add integration test for TextRevisionFromTextRevision
Change 445201 had a related patch set uploaded (by WMDE-Fisch; owner: WMDE-Fisch):
[mediawiki/extensions/FileImporter@master] Add integration test for FileRevisionFromRemoteUrl
Change 445201 merged by jenkins-bot:
[mediawiki/extensions/FileImporter@master] Add integration test for FileRevisionFromRemoteUrl
Change 445632 had a related patch set uploaded (by WMDE-Fisch; owner: WMDE-Fisch):
[mediawiki/extensions/FileImporter@master] Extend Importer integration test using multiple revisions
@Lea_WMDE yepp you're right, lets move it to done.
One thing though. While doing this I ran into an issue in core that was revealed by the integration test covering two file revisions. There seems to be (another) timing issue with timestamp file names. I just created a ticket for that: T200001 (look at that number :-) ).
The test is fine on the CI and we already tested the import of files with many revisions several times now, so I am pretty sure it does not affect us very much in production. Still it's something that needs be solved. - But that's out of the scope of this ticket. So let's move it to done.
Change 445632 merged by jenkins-bot:
[mediawiki/extensions/FileImporter@master] Extend Importer integration test using multiple revisions