[Koha-bugs] [Bug 20531] New: IssueSlip is failing randomly
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Apr 5 21:45:49 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20531
Bug ID: 20531
Summary: IssueSlip is failing randomly
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: ASSIGNED
Severity: minor
Priority: P5 - low
Component: Test Suite
Assignee: jonathan.druart at bugs.koha-community.org
Reporter: jonathan.druart at bugs.koha-community.org
QA Contact: testopia at bugs.koha-community.org
There is sort on timestamp, issuedate, issue_id in
Koha::Patron->pending_checkouts (previously GetPendingIssues)
If at least 1 sec passed between 2 inserts, the tests will fail:
https://jenkins.koha-community.org/job/Koha_Master_D8/422/console
koha_1 | # Failed test 'IssueSlip should return a slip with 2
checkouts'
koha_1 | # at t/db_dependent/Members/IssueSlip.t line 243.
koha_1 | # got: 'Checked out:
koha_1 | #
koha_1 | # Title: My title 2
koha_1 | # Barcode: BC0202
koha_1 | # Date due: 04/05/2018 19:59
koha_1 | #
koha_1 | #
koha_1 | # Title: My title 1
koha_1 | # Barcode: BC0101
koha_1 | # Date due: 04/05/2018 19:59
koha_1 | #
koha_1 | #
koha_1 | # Overdues:
koha_1 | #
koha_1 | # '
koha_1 | # expected: 'Checked out:
koha_1 | #
koha_1 | # Title: My title 1
koha_1 | # Barcode: BC0101
koha_1 | # Date due: 04/05/2018 19:59
koha_1 | #
koha_1 | #
koha_1 | # Title: My title 2
koha_1 | # Barcode: BC0202
koha_1 | # Date due: 04/05/2018 19:59
koha_1 | #
koha_1 | #
koha_1 | # Overdues:
koha_1 | #
koha_1 | # '
koha_1 | # Looks like you failed 1 test of 2.
koha_1 |
koha_1 | # Failed test 'Hourly loans'
koha_1 | # at t/db_dependent/Members/IssueSlip.t line 278.
koha_1 | # Looks like you failed 1 test of 3.
koha_1 |
koha_1 | # Failed test 'Issue slip'
koha_1 | # at t/db_dependent/Members/IssueSlip.t line 280.
koha_1 | # Looks like you failed 1 test of 3.
koha_1 | [18:15:19] t/db_dependent/Members/IssueSlip.t
.............................
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list