Bug 25109: Add 'wait' tests
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 13 Apr 2020 11:43:10 +0000 (08:43 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 14 Apr 2020 15:57:01 +0000 (16:57 +0100)
commit29f399f1f8608310172b8f6963ad79a077783225
tree0e69ca2cc80898ffceec437d82a4f1f44046f7bd
parent5793a29221cb9b687ec43381d6e1562d1b948e55
Bug 25109: Add 'wait' tests

This simple patch introduces a test for the lock waiting scenario. It
replicates the previous tests, but calls a script that passes the wait
=> 1 parameter to ->lock_exec.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
t/Koha/Script.t
t/Koha/wait.pl [new file with mode: 0755]