[Koha-bugs] [Bug 24881] Circulation.t still fails if tests are ran slowly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 11 15:43:06 CEST 2020


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

--- Comment #25 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Victor Grousset/tuxayo from comment #23)
> I can still get the following error locally. 
> I confirm that have applied the patch of comment 21 on top of 19.05.x
> without reverting the old patch
> 
> 
> t/db_dependent/Circulation.t .. 29/46 
>     #   Failed test 'ISSUED_TO_ANOTHER question flag should be set if
> AutoReturnCheckedOutItems is disabled and item is checked out to another'
>     #   at t/db_dependent/Circulation.t line 1975.
>     #          got: undef
>     #     expected: '1'
>     # Looks like you planned 2 tests but ran 1.
> t/db_dependent/Circulation.t .. 30/46     # Looks like you failed 1 test of
> 1 run.
> 
> #   Failed test 'CanBookBeIssued + AutoReturnCheckedOutItems'
> #   at t/db_dependent/Circulation.t line 1982.
> Can't call method "borrowernumber" on an undefined value at
> t/db_dependent/Circulation.t line 1979.
> # Looks like your test exited with 255 just after 30.
> t/db_dependent/Circulation.t .. Dubious, test returned 255 (wstat 65280,
> 0xff00)

This is because 19.05 is lacking:
    Bug 24062: Make sure TestBuilder will stop generate X or other invalid
category's types

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list