[Koha-bugs] [Bug 24356] objects.search prefetch

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Feb 1 05:49:01 CET 2020


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

--- Comment #14 from Agustín Moyano <agustinmoyano at theke.io> ---
(In reply to David Nind from comment #11)
> Tests fail:
> 
> prove t/db_dependent/Koha/Object*
> 
> t/db_dependent/Koha/Objects.t .. 18/21 
>     #   Failed test 'Relationship matching method name is listed'
>     #   at t/db_dependent/Koha/Objects.t line 800.
> 
>     #   Failed test 'Guessed the object class correctly'
>     #   at t/db_dependent/Koha/Objects.t line 804.
>     #          got: undef
>     #     expected: 'Koha::Acquisition::BasketGroup'
>     # Looks like you failed 2 tests of 2.
> 
> #   Failed test 'prefetch_whitelist() tests'
> #   at t/db_dependent/Koha/Objects.t line 809.
> # Looks like you failed 1 test of 21.
> t/db_dependent/Koha/Objects.t .. Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/21 subtests 
> t/db_dependent/Koha/Object.t ... 17/18 
>     #   Failed test 'Relationship matching method name is listed'
>     #   at t/db_dependent/Koha/Object.t line 754.
> 
>     #   Failed test 'Guessed the object class correctly'
>     #   at t/db_dependent/Koha/Object.t line 758.
>     #          got: undef
>     #     expected: 'Koha::Acquisition::BasketGroup'
>     # Looks like you failed 2 tests of 2.
> 
> #   Failed test 'prefetch_whitelist() tests'
> #   at t/db_dependent/Koha/Object.t line 763.
> # Looks like you failed 1 test of 18.
> t/db_dependent/Koha/Object.t ... Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/18 subtests 
> 
> Test Summary Report
> -------------------
> t/db_dependent/Koha/Objects.t (Wstat: 256 Tests: 21 Failed: 1)
>   Failed test:  21
>   Non-zero exit status: 1
> t/db_dependent/Koha/Object.t (Wstat: 256 Tests: 18 Failed: 1)
>   Failed test:  18
>   Non-zero exit status: 1
> Files=2, Tests=39, 22 wallclock secs ( 0.05 usr  0.01 sys + 17.92 cusr  3.05
> csys = 21.03 CPU)
> Result: FAIL

Hi David, thanks for testing.

I just rebased and fixed tests. Could you please do another run?

Regards.

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


More information about the Koha-bugs mailing list