https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38775

            Bug ID: 38775
           Summary: t/db_dependent/Circulation/transfers.t might fail for
                    tiny time difference
 Change sponsored?: ---
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Test Suite
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

The test failed today on D11. We can see that there is time difference of 1
minute (maybe only a few seconds actually). 
It might be a nice project to make this a bit more fail resistant:

14:37:09 koha_1       | #   Failed test 'Barcode and itemnumber for same item
both generate same TransferSlip'
14:37:09 koha_1       | #   at t/db_dependent/Circulation/transfers.t line 215.
14:37:09 koha_1       | # Compared $data->{"content"}
14:37:09 koha_1       | #    got : '<h5>Date: 12/23/2024 13:34</h5>
14:37:09 koha_1       | # <br>
14:37:09 koha_1       | # <h3>Transfer to qDCKpj</h3>
14:37:09 koha_1       | # <br>
14:37:09 koha_1       | # <h3>ITEM</h3>
14:37:09 koha_1       | # <h4></h4>
14:37:09 koha_1       | # <h5></h5>
14:37:09 koha_1       | # <ul>
14:37:09 koha_1       | #    <li>1</li>
14:37:09 koha_1       | #    <li>callnumber1</li>
14:37:09 koha_1       | # </ul>'
14:37:09 koha_1       | # expect : '<h5>Date: 12/23/2024 13:35</h5>
14:37:09 koha_1       | # <br>
14:37:09 koha_1       | # <h3>Transfer to qDCKpj</h3>
14:37:09 koha_1       | # <br>
14:37:09 koha_1       | # <h3>ITEM</h3>
14:37:09 koha_1       | # <h4></h4>
14:37:09 koha_1       | # <h5></h5>
14:37:09 koha_1       | # <ul>
14:37:09 koha_1       | #    <li>1</li>
14:37:09 koha_1       | #    <li>callnumber1</li>
14:37:09 koha_1       | # </ul>'
14:37:09 koha_1       | # Looks like you failed 1 test of 19.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to