[Koha-bugs] [Bug 24022] Z3950Responder tests are failing on D8 and U18

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 12 17:01:09 CET 2019


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

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEW
           Assignee|jonathan.druart at bugs.koha-c |chris at bigballofwax.co.nz
                   |ommunity.org                |
           Severity|normal                      |major

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
We have a race condition here, I guess that's why we get the "Connect failed".

kohadev-koha at c46b1ba2057e:/kohadevbox/koha$ prove
t/db_dependent/Koha/Z3950Responder/Session*.t 
t/db_dependent/Koha/Z3950Responder/Session2.t .. ok   
t/db_dependent/Koha/Z3950Responder/Session.t ... 1/3 
    #   Failed test 'All statuses added in one field as expected'
    #   at t/db_dependent/Koha/Z3950Responder/Session.t line 63.
    #          got: 'Checked Out, Lost, Not for Loan, Borked completely,
Withdrawn, In Transit, On Hold'
    #     expected: 'Checked Out, Lost, Not for Loan, Damaged, Withdrawn, In
Transit, On Hold'

    #   Failed test 'Available status added as expected'
    #   at t/db_dependent/Koha/Z3950Responder/Session.t line 66.
    #          got: 'Free as a bird'
    #     expected: 'Available'
    # Looks like you failed 2 tests of 2.
t/db_dependent/Koha/Z3950Responder/Session.t ... 3/3 
#   Failed test 'add_item_status'
#   at t/db_dependent/Koha/Z3950Responder/Session.t line 68.
# Looks like you failed 1 test of 3.
t/db_dependent/Koha/Z3950Responder/Session.t ... Dubious, test returned 1
(wstat 256, 0x100)
Failed 1/3 subtests 

Test Summary Report
-------------------
t/db_dependent/Koha/Z3950Responder/Session.t (Wstat: 256 Tests: 3 Failed: 1)
  Failed test:  3
  Non-zero exit status: 1
Files=2, Tests=6,  6 wallclock secs ( 0.01 usr  0.01 sys +  4.65 cusr  1.31
csys =  5.98 CPU)
Result: FAIL

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


More information about the Koha-bugs mailing list