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)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 21 Apr 2017 11:35:05 +0000 (07:35 -0400)
commitd51538cb824387230b3e2cab955d3c16475bedde
treeab18a19fe408d71f223a85bdbd00d641434a4f5b
parentb40456f7dd4b8a988f9c6a5718452936101cb8ff
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>
C4/Circulation.pm