[Koha-bugs] [Bug 25265] Elasticsearch - Batch editing items on a biblio can lead to incorrect index

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 25 11:32:55 CEST 2020


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

--- Comment #47 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
t/db_dependent/Koha/SearchEngine/Elasticsearch/Indexer.t

Without Elastic:
not ok 2 - create_index() tests
#   Failed test 'create_index() tests'
#   at t/db_dependent/Koha/SearchEngine/Elasticsearch/Indexer.t line 82.
[NoNodes] ** No nodes are available: [http://localhost:9200], called from sub
Search::Elasticsearch::Role::Client::Direct::__ANON__ at
/usr/share/koha/Koha/SearchEngine/Elasticsearch/Indexer.pm line 382.# Looks
like your test exited with 255 just after 2.

With Elastic (finally ;)
1..2
ok 1 - use Koha::SearchEngine::Elasticsearch::Indexer;
# Subtest: create_index() tests
    1..6
    ok 1 - Creating a new indexer object
    ok 2 - Creating an index
    ok 3 - no error on update_index
    ok 4 - 1 item indexed
    ok 5 - We should get a string matching the bibnumber passed in
    ok 6 - Dropping the index
ok 2 - create_index() tests

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


More information about the Koha-bugs mailing list