Bug 31598: Fix random failure on Jenkins for Upload.t
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 22 Sep 2022 08:09:41 +0000 (08:09 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 22 Sep 2022 11:07:01 +0000 (08:07 -0300)
commit9a92ee31945af6f535e8be81b3410d13affd8b5f
treec3dd4c61de7184c2523e2db9087b9a7ace146e12
parentf0642e4a1fca066ca48cfade8e8d50c4e7611e63
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>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/Upload.t