Bug 18364: [Follow-up] Also add an environment variable to prevent locking
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 20 Apr 2017 10:52:47 +0000 (12:52 +0200)
committerKatrin Fischer <katrin.fischer.83@web.de>
Fri, 21 Apr 2017 22:20:34 +0000 (00:20 +0200)
commit46b688991b86a66b3bfd66c894f5ced14519c36a
tree234880fc678d03b0cb919148d245b9dd85514a39
parentfd4b3555d83c44e8026f3899faa879ba25c7a598
Bug 18364: [Follow-up] Also add an environment variable to prevent locking

The test in SendCirculationAlert is extended by adding an env var
called KOHA_NO_TABLE_LOCKS. If this var is set to a true value,
the table locking is skipped too.

This is useful when running a test without prove. The variable could be
set in a shell profile.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit d51538cb824387230b3e2cab955d3c16475bedde)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
C4/Circulation.pm