]> git.koha-community.org Git - koha.git/commit
Bug 30203: Circulation.t: prevent locking by setting envvar
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 3 Mar 2022 10:27:20 +0000 (10:27 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 4 Mar 2022 02:11:50 +0000 (16:11 -1000)
commitba972111133fc7d9b2ed3c0ecc8edcaf7dcc074f
tree2c015c6d0571a561d638d9f50e34b2b9f7a2b5e3
parentde28b9e416dc9fc876d7b9b8957e94bf18f61987
Bug 30203: Circulation.t: prevent locking by setting envvar

Running this test without prove is disastrous. The LOCK in
the called SendCirculationAlert will ruin your data.
But no longer when you apply this patch.

Test plan:
Run prove Circulation.t
Inspect your data (e.g. borrowers table).
Run perl Circulation.t
Inspect your data (e.g. borrowers table) again.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/db_dependent/Circulation.t