[Koha-bugs] [Bug 25109] Add execution locking to Koha::Script
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Feb 5 15:54:16 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25109
--- Comment #33 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Once again we have the proof that using sleep in tests is VERY bad.
+ sleep 1; # Make sure we start after the fork
Tests are failing randomly on Jenkins, quite often (at least twice a week).
Example for Koha_Master_D10 (#467)
15:01:46 koha_1 | # Failed test 'Exception found'
15:01:46 koha_1 | # at t/Koha/Script.t line 69.
15:01:46 koha_1 | # ''
15:01:46 koha_1 | # doesn't match '(?^u:Unable to acquire the
lock.*)'
15:01:46 koha_1 | # Looks like you failed 1 test of 3.
15:01:46 koha_1 |
15:01:46 koha_1 | # Failed test 'lock_exec() tests'
15:01:46 koha_1 | # at t/Koha/Script.t line 87.
15:01:46 koha_1 | # Looks like you failed 1 test of 4.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list