From Jenkins D11 # Subtest: Test delete via UploadedFile as well as UploadedFiles 1..10 ok 1 - Add duplicate temporary file (file4) ok 2 - Delete successful ok 3 - File no longer found after delete ok 4 - Record also gone ok 5 - Delete successful ok 6 - File no longer found after delete not ok 7 - delete warns when file is missing ok 8 - Deleting record was successful ok 9 - Back to four uploads now ok 10 - Repeated delete unsuccessful not ok 7 - Test delete via UploadedFile as well as UploadedFiles Can be resolved easily.
Created attachment 140843 [details] [review] Bug 31598: Fix random failure on Jenkins for Upload.t At some point the warn is made conditional for permanent files. So it failed when TestBuilder picked a zero value for permanent. Trivial fix. Test plan: Run t/db_dependent/Upload.t a few times Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Heading straight for Tomas. Trivial test fix
Pushed to master for 22.11. Nice work everyone, thanks!
Backported to 22.05.x for upcoming 22.05.07 release
applied to 21.11 for 21.11.14
Not backported to oldoldstable (21.05.x). Feel free to ask if it's needed. Nothing to document, marking resolved.