[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
Wed Jun 10 18:28:31 CEST 2020


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

--- Comment #20 from Victor Grousset/tuxayo <victor at tuxayo.net> ---
Locally I can have the following two possible errors. (confirmed only on
19.05.x)
Patch from comment 1 (which in 19.05) doesn't seem to have an impact when kept
or reverted.

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 1974.
    #          got: undef
    #     expected: '1'
    # Looks like you planned 2 tests but ran 1.
    # Looks like you failed 1 test of 1 run.
t/db_dependent/Circulation.t .. 30/46 
#   Failed test 'CanBookBeIssued + AutoReturnCheckedOutItems'
#   at t/db_dependent/Circulation.t line 1981.
Can't call method "borrowernumber" on an undefined value at
t/db_dependent/Circulation.t line 1978.
# Looks like your test exited with 255 just after 30.


##### And also #####


t/db_dependent/Circulation.t .. 28/46 
    #   Failed test 'AddReturn must have debarred the patron'
    #   at t/db_dependent/Circulation.t line 86.
    #          got: ''
    #     expected: '1'
    # AddReturn returned message $VAR1 = {
    #           'WasReturned' => 1
    #         };

    #   Failed test 'Test at line 1924'
    #   at t/db_dependent/Circulation.t line 90.
    #          got: '0'
    #     expected: '1'

    #   Failed test 'Test at line 1924'
    #   at t/db_dependent/Circulation.t line 93.
    #          got: undef
    #     expected: '2020-06-22'
    # Looks like you failed 3 tests of 21.
t/db_dependent/Circulation.t .. 29/46 
#   Failed test 'AddReturn + suspension_chargeperiod'
#   at t/db_dependent/Circulation.t line 1933.

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


More information about the Koha-bugs mailing list