[Koha-bugs] [Bug 29862] New: TestBuilder.t fails with ES enabled

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 12 15:45:51 CET 2022


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

            Bug ID: 29862
           Summary: TestBuilder.t fails with ES enabled
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Test Suite
          Assignee: chris at bigballofwax.co.nz
          Reporter: tomascohen at gmail.com
        QA Contact: testopia at bugs.koha-community.org

To reproduce:

kohadev-koha at kohadevbox:/kohadevbox/koha$ prove t/db_dependent/TestBuilder.t 
t/db_dependent/TestBuilder.t .. 7/15 Invalid MARC field expression:
nHiaHpae3NgZlIHLjw1aOK4orw_8D8Af9R8WOo4cDSyifeMJyb2e_s2UzLX_EJHr7i01S1P4uyRIwHzyQRp2xogLJamtpafxr73jNPmoKuxhtgbEUhXuNUdUWG8GquTLhIHSNixvJCboujpzt6j2f8T5AcSxSbfPiNhKaAkMufwMVzQmsW26LUo3Y1cedm_aN9yQ9cwxNIqiwSjH1CiUg3IP2iwQSZdUJg57uCmDCcexDc6CDix
at /kohadevbox/koha/C4/Biblio.pm line 306.
    # Looks like you planned 12 tests but ran 6.

#   Failed test 'Tests for delete method'
#   at t/db_dependent/TestBuilder.t line 302.
Can't call method "biblionumber" on an undefined value at
t/db_dependent/TestBuilder.t line 281.
# Looks like your test exited with 11 just after 8.
t/db_dependent/TestBuilder.t .. Dubious, test returned 11 (wstat 2816, 0xb00)
Failed 8/15 subtests 

Test Summary Report
-------------------
t/db_dependent/TestBuilder.t (Wstat: 2816 Tests: 8 Failed: 1)
  Failed test:  8
  Non-zero exit status: 11
  Parse errors: Bad plan.  You planned 15 tests but ran 8.
Files=1, Tests=8, 26 wallclock secs ( 0.02 usr  0.00 sys + 18.06 cusr  5.22
csys = 23.30 CPU)
Result: FAIL

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


More information about the Koha-bugs mailing list