Bug 30898 - Elasticsearch/Indexer.t fails on 'No nodes are available'
Summary: Elasticsearch/Indexer.t fails on 'No nodes are available'
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Test Suite (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Chris Cormack
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-03 07:07 UTC by Marcel de Rooy
Modified: 2024-05-23 17:58 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel de Rooy 2022-06-03 07:07:14 UTC
This could be expected when you only run Zebra..
But it would be nice to catch this situation.

t/db_dependent/Koha/SearchEngine/Elasticsearch/Indexer.t .. 2/4
#   Failed test 'create_index() tests'
#   at t/db_dependent/Koha/SearchEngine/Elasticsearch/Indexer.t line 88.
[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 403.# Looks like your test exited with 11 just after 2.