]> git.koha-community.org Git - koha.git/commit
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)
committerMason James <mtj@kohaaloha.com>
Sun, 30 Apr 2017 11:19:57 +0000 (23:19 +1200)
commit15751085e950b38df235d11e958259e15ef48f37
tree9e3a1c6cab6ad85dcc716ffaf2558e202e0cac08
parenta2d5655093a7188028036ba439256d9f819c136e
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: Mason James <mtj@kohaaloha.com>
C4/Circulation.pm