[Koha-bugs] [Bug 26043] Holds.t is failing randomly
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jul 22 14:57:45 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26043
--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 107178
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=107178&action=edit
Bug 26043: Fix random failure from Holds.t
# Failed test 'Test ModReserveMinusPriority()'
# at t/db_dependent/Holds.t line 202.
# got: undef
# expected: '1605'
# Looks like you failed 1 test of 66.
It is coming from Koha::Patron->holds that is ordering by reservedate,
so "sometimes" they are ordered in reverse (at least it's my
understanding of the problem).
Test plan:
Run the test file several times (from 20 to 60x), it must never fail
with this patch
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list