[Koha-bugs] [Bug 16453] Elasticsearch tests should use koha-conf.xml information and skip if absent
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16453 Tomás Cohen Arazichanged: What|Removed |Added Patch complexity|--- |Small patch Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 16453] Elasticsearch tests should use koha-conf.xml information and skip if absent
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16453 --- Comment #1 from Tomás Cohen Arazi--- Created attachment 51248 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=51248=edit 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 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 -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 16453] Elasticsearch tests should use koha-conf.xml information and skip if absent
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16453 Tomás Cohen Arazichanged: What|Removed |Added CC||jonathan.dru...@bugs.koha-c ||ommunity.org -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 16453] Elasticsearch tests should use koha-conf.xml information and skip if absent
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16453 Tomás Cohen Arazichanged: What|Removed |Added Summary|t/db_dependent/Koha_Elastic |Elasticsearch tests should |Search_Indexer.t should use |use koha-conf.xml |koha-conf.xml information |information and skip if ||absent -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/