https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42540 --- Comment #22 from Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> --- (In reply to David Cook from comment #21)
(In reply to Pedro Amorim (ammopt) from comment #20)
Hi guys, Search.t fails for me running es8:
prove t/db_dependent/Koha/SearchEngine/Elasticsearch/Search.t
Can or should we make this test not rely on ElasticSearch version?
What's the failure message when you use "prove -v"? I don't think we should make the test rely on ES version but rather address the underlying issue and make sure we can support multiple ES versions.
ok 14 - _convert_facets # Subtest: search() throws TooManyClauses on oversized bool query 1..1 not ok 1 - Oversized bool query throws TooManyClauses # Failed test 'Oversized bool query throws TooManyClauses' # at t/db_dependent/Koha/SearchEngine/Elasticsearch/Search.t line 186. # expecting: Koha::Exceptions::Elasticsearch::TooManyClauses # found: normal exit # Looks like you failed 1 test of 1. not ok 15 - search() throws TooManyClauses on oversized bool query # Failed test 'search() throws TooManyClauses on oversized bool query' # at t/db_dependent/Koha/SearchEngine/Elasticsearch/Search.t line 188. ok 16 - no warnings # Looks like you failed 1 test of 16. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/16 subtests Test Summary Report ------------------- t/db_dependent/Koha/SearchEngine/Elasticsearch/Search.t (Wstat: 256 (exited 1) Tests: 16 Failed: 1) Failed test: 15 Non-zero exit status: 1 Files=1, Tests=16, 3 wallclock secs ( 0.02 usr 0.01 sys + 1.94 cusr 0.29 csys = 2.26 CPU) Result: FAIL -- You are receiving this mail because: You are watching all bug changes.