Bug 21974 added cxn_pool to elasticsearch fongi in koha-conf Bug 24823 broke that
Created attachment 109237 [details] [review] Bug 26309: Unit tests
Created attachment 109238 [details] [review] Bug 26309: Make cxn_pool configurable In get_elasticsearch_params we set the conf to static if undefined, but we never defined it To test: 1 - Apply unit test patch 2 - prove -v t/Koha/SearchEngine/Elasticsearch.t 3 - It fails 4 - Apply this patch 5 - It succeeds
Bug 25273 moved t/Koha/SearchEngine/Elasticsearch.t to t/db_dependent/Koha/SearchEngine/Elasticsearch.t but patch still applies ;)
Created attachment 109578 [details] [review] Bug 26309: Unit tests Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Created attachment 109579 [details] [review] Bug 26309: Make cxn_pool configurable In get_elasticsearch_params we set the conf to static if undefined, but we never defined it To test: 1 - Apply unit test patch 2 - prove -v t/Koha/SearchEngine/Elasticsearch.t 3 - It fails 4 - Apply this patch 5 - It succeeds Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Created attachment 109589 [details] [review] Bug 26309: Unit tests Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Created attachment 109590 [details] [review] Bug 26309: Make cxn_pool configurable In get_elasticsearch_params we set the conf to static if undefined, but we never defined it To test: 1 - Apply unit test patch 2 - prove -v t/Koha/SearchEngine/Elasticsearch.t 3 - It fails 4 - Apply this patch 5 - It succeeds Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Works as expected, tests pass and QA script passes. Passing QA.
Pushed to master for 20.11, thanks to everybody involved!
backported to 20.05.x for 20.05.04
missing dependencies, not backported to 19.11.x