Bug 38775

Summary: t/db_dependent/Circulation/transfers.t might fail for tiny time difference
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: Test SuiteAssignee: Chris Cormack <chris>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Katrin Fischer 2024-12-23 14:00:32 UTC
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.