[Bug 25824] New: DecreaseLoanHighHolds.t is still failing randomly 2
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25824 Bug ID: 25824 Summary: DecreaseLoanHighHolds.t is still failing randomly 2 Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Test Suite Assignee: chris@bigballofwax.co.nz Reporter: victor@tuxayo.net QA Contact: testopia@bugs.koha-community.org After 188 local run I could reproduce on 19.05.x the failure that happening on this build: https://jenkins.koha-community.org/view/19.05/job/Koha_19.05_D9/229/consoleT... t/db_dependent/DecreaseLoanHighHolds.t .. 2/17 # Failed test 'Static mode should exceed threshold' # at t/db_dependent/DecreaseLoanHighHolds.t line 131. # got: '0' # expected: '1' # Failed test 'Should have duration of 1' # at t/db_dependent/DecreaseLoanHighHolds.t line 133. # got: '0' # expected: '1' # Failed test 'due_date should be a DateTime object' # at t/db_dependent/DecreaseLoanHighHolds.t line 134. # got: '' # expected: 'DateTime' Can't call method "hour" on an undefined value at t/db_dependent/DecreaseLoanHighHolds.t line 137. # Looks like your test exited with 11 just after 5. t/db_dependent/DecreaseLoanHighHolds.t .. Dubious, test returned 11 (wstat 2816, 0xb00) It was like 30 min, so not so hard to reproduce (assuming it wasn't huge luck) Happens also in Ubuntu 18.04 for 19.05.x branch. (if that can help) https://jenkins.koha-community.org/job/Koha_19.05_U18/236/consoleText It's the second time a few days. It's good that it's not a rare issue. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25824 --- Comment #1 from Victor Grousset/tuxayo <victor@tuxayo.net> --- Also failing in the past in 17.05. See bug 19705 comment 6 and bug 19705 comment 7 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25824 Victor Grousset/tuxayo <victor@tuxayo.net> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=19705 Blocks| |25811 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25811 [Bug 25811] authentication.t is failing randomly -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25824 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@bugs.koha-c | |ommunity.org Blocks|25811 |25551 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25551 [Bug 25551] [OMNIBUS] Some tests are failing randomly https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25811 [Bug 25811] authentication.t is failing randomly -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25824 Eric Phetteplace <ephetteplace@cca.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ephetteplace@cca.edu -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25824 Paul Navarrete <pnavarrete@cca.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gmcharlt@gmail.com, | |kyle.m.hall@gmail.com, | |pnavarrete@cca.edu Assignee|chris@bigballofwax.co.nz |koha-bugs@lists.koha-commun | |ity.org Component|Test Suite |Circulation Version|master |22.11 --- Comment #2 from Paul Navarrete <pnavarrete@cca.edu> --- I'm having trouble with the decreaseLoanHighHolds system preference and came across this bug. I have the preference set to reduce the loan period for items with more than 1 hold "over the number of holdable items on the record". Essentially I just want the loan period to decrease when one item has multiple holds on it, but the loan period does not decrease properly at checkout. We used to have the value set to "on the record" rather than "over the number of holdable items on the record". This would trigger the decreased loan period correctly, but it would also do that in situations we didn't want, such as one patron having holds on two items on the same bib record. It would just see two holds on one bib record and automatically decrease the loan. So I'd really like for this configuration to work properly as "over the number of holdable items on the record". -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25824 --- Comment #3 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- (In reply to Paul Navarrete from comment #2)
I'm having trouble with the decreaseLoanHighHolds system preference and came across this bug. I have the preference set to reduce the loan period for items with more than 1 hold "over the number of holdable items on the record". Essentially I just want the loan period to decrease when one item has multiple holds on it, but the loan period does not decrease properly at checkout. We used to have the value set to "on the record" rather than "over the number of holdable items on the record". This would trigger the decreased loan period correctly, but it would also do that in situations we didn't want, such as one patron having holds on two items on the same bib record. It would just see two holds on one bib record and automatically decrease the loan. So I'd really like for this configuration to work properly as "over the number of holdable items on the record".
Hi Paul, this is an old bug about the automatic tests. Please file your problem as a new bug. But I think you might be misunderstanding the setting. It's about items on the record - if there are multiple items, the decrease will happen later. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25824 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |chris@bigballofwax.co.nz |ity.org | Component|Circulation |Test Suite -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25824 Eric Phetteplace <ephetteplace@cca.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from Eric Phetteplace <ephetteplace@cca.edu> --- I don't think this is the case anymore? The tests have been passing. Setting to resolved. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org