[koha-commits] main Koha release repository branch master updated. v3.22.00-1551-g0e6a18b
Git repo owner
gitmaster at git.koha-community.org
Fri May 6 05:37:17 CEST 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, master has been updated
via 0e6a18bb62eee31986a73a0811ab207aa746a381 (commit)
from 7b76b24fad305b0253eb1d779f074d265087ca73 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 0e6a18bb62eee31986a73a0811ab207aa746a381
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Thu May 5 13:19:28 2016 -0300
Bug 16453: Make Elasticsearch tests be skipped if configuration entry missing
The current tests fail to run if the configuration entry is missing. This is
problematic on jenkins and should be fixed.
To test:
- On master, having koha-conf.xml without (or commented) an <elasticsearch> entry
- Run:
$ prove t/db_dependent/Koha_ElasticSearch_Indexer.t \
t/db_dependent/Koha_SearchEngine_Elasticsearch_Search.t -v
=> FAIL: Tests fail due to missing configuration entry
- Apply the patch
- Run:
$ prove t/db_dependent/Koha_ElasticSearch_Indexer.t \
t/db_dependent/Koha_SearchEngine_Elasticsearch_Search.t -v
=> SUCCESS: Tests pass, and the ES-configuration-dependent tests are skipped
- Have elasticsearch running and the koha-conf.xml entry
- Run:
$ prove t/db_dependent/Koha_ElasticSearch_Indexer.t \
t/db_dependent/Koha_SearchEngine_Elasticsearch_Search.t -v
=> SUCCESS: Same results as without the patch
- Sign off
Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
Signed-off-by: Jesse Weaver <jweaver at bywatersolutions.com>
Signed-off-by: Brendan Gallagher <brendan at bywatersolutions.com>
-----------------------------------------------------------------------
Summary of changes:
t/db_dependent/Koha_ElasticSearch_Indexer.t | 37 +++++++++++---------
.../Koha_SearchEngine_Elasticsearch_Search.t | 30 +++++++++++-----
2 files changed, 41 insertions(+), 26 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list