[Koha-bugs] [Bug 25514] REST/Plugin/Objects.t is failing randomly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 11 19:13:02 CET 2020


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

Victor Grousset/tuxayo <victor at tuxayo.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |victor at tuxayo.net

--- Comment #7 from Victor Grousset/tuxayo <victor at tuxayo.net> ---
It seem it's possible to reproduce locally by running in parallel `stress --hdd
1` it should fail after 5 min at most. Likely the first errors come first.

t/db_dependent/Koha/REST/Plugin/Objects.t .. 3/10     # Premature connection
close

    #   Failed test 'GET /orders?order_id=1'
    #   at t/db_dependent/Koha/REST/Plugin/Objects.t line 269.

    #   Failed test 'exact match for JSON Pointer "/0"'
    #   at t/db_dependent/Koha/REST/Plugin/Objects.t line 269.
    #     Structures begin differing at:
    #          $got = undef
    #     $expected = HASH(0x558d657c4810)
    # Looks like you failed 2 tests of 2.
t/db_dependent/Koha/REST/Plugin/Objects.t .. 4/10 
#   Failed test 'objects.search helper, embed'
#   at t/db_dependent/Koha/REST/Plugin/Objects.t line 273.
t/db_dependent/Koha/REST/Plugin/Objects.t .. 5/10     # Premature connection
close

    #   Failed test 'GET /biblios'
    #   at t/db_dependent/Koha/REST/Plugin/Objects.t line 322.

    #   Failed test 'there should be 1 biblio with suggestions of patron 1'
    #   at t/db_dependent/Koha/REST/Plugin/Objects.t line 322.
    #          got: undef
    #     expected: '1'
    # Looks like you failed 2 tests of 4.
t/db_dependent/Koha/REST/Plugin/Objects.t .. 6/10 
#   Failed test 'object.search helper with query parameter'
#   at t/db_dependent/Koha/REST/Plugin/Objects.t line 329.
t/db_dependent/Koha/REST/Plugin/Objects.t .. 7/10     # Premature connection
close

    #   Failed test 'GET /biblios'
    #   at t/db_dependent/Koha/REST/Plugin/Objects.t line 368.

    #   Failed test 'there should be 1 biblio with suggestions of patron 1'
    #   at t/db_dependent/Koha/REST/Plugin/Objects.t line 368.
    #          got: undef
    #     expected: '1'
    # Looks like you failed 2 tests of 4.
t/db_dependent/Koha/REST/Plugin/Objects.t .. 8/10 

#### ETC more similar error ####

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


More information about the Koha-bugs mailing list