[Koha-bugs] [Bug 24700] Improve Mojo startup speed for REST APIs

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Mar 22 14:36:01 CET 2020


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

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |julian.maurice at biblibre.com
                   |                            |, katrin.fischer at bsz-bw.de

--- Comment #7 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Don't understand the code well enough to QA here - still gave it a go to
provoke some movement. 

Might be my data, but I have failing tests with and without the patch:

Test Summary Report
-------------------
t/db_dependent/Koha/REST/Plugin/PluginRoutes.t (Wstat: 65280 Tests: 2 Failed:
1)
  Failed test:  2
  Non-zero exit status: 255

#   Failed test 'No tests run for subtest "Disabled plugins tests"'
#   at t/db_dependent/Koha/REST/Plugin/PluginRoutes.t line 121.
Can't locate Koha/Plugin/Com/ByWaterSolutions/KitchenSink.pm in @INC (you may
need to install the Koha::Plugin::Com::ByWaterSolutions::KitchenSink module)
(@INC contains: /home/vagrant/kohaclone /home/vagrant/qa-test-tools /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1
/usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5
/usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24
/usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base
t/db_dependent/Koha/REST/Plugin/../../../../lib) at
/usr/share/perl/5.24/Module/Load.pm line 77.
Can't locate Koha/Plugin/Com/ByWaterSolutions/KitchenSink in @INC (@INC
contains: /home/vagrant/kohaclone /home/vagrant/qa-test-tools /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1
/usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5
/usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24
/usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base
t/db_dependent/Koha/REST/Plugin/../../../../lib) at
/usr/share/perl/5.24/Module/Load.pm line 77.
# Looks like your test exited with 255 just after 2.
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/2 subtests 


t/db_dependent/api/v1/acquisitions_orders.t          (Wstat: 256 Tests: 5
Failed: 1)
  Failed test:  1
  Non-zero exit status: 1

[Sun Mar 22 13:31:12 2020] [debug] GET "/api/v1/acquisitions/orders"
[Sun Mar 22 13:31:12 2020] [debug] Routing to controller "Koha::REST::V1::Auth"
and action "under"
[Sun Mar 22 13:31:12 2020] [debug] 400 Bad Request (0.027112s, 36.884/s)
    ok 6 - GET
//W0txdhLojIJjsOm41yB0E6aNafhS1vdorHkDUn9Z17KvscSt:thePassword123@/api/v1/acquisitions/orders?order_blah=blah
    ok 7 - 400 Bad Request
    ok 8 - exact match for JSON Pointer ""
    # Looks like you failed 2 tests of 8.
not ok 1 - list() tests

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


More information about the Koha-bugs mailing list