It will allow to perform some tests on different index configuration
on the same elasticsearch server
Related to T2904
Differential D4785
Allow to configure the index to use on elasticsearch vsellier on Dec 23 2020, 1:03 PM. Authored by
Details
It will allow to perform some tests on different index configuration Related to T2904 tox
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D4785 (id=16945)Rebasing onto be14169ca4... Current branch diff-target is up to date. Changes applied before testcommit a3474f6956b656b28306b90a00148f08aa954ce9 Author: Vincent SELLIER <vincent.sellier@softwareheritage.org> Date: Wed Dec 23 13:01:31 2020 +0100 Allow to configure the index to use on elasticsearch It will allow to perform some tests on different index configuration on the same elasticsearch server Related to T2904 See https://jenkins.softwareheritage.org/job/DSEA/job/tests-on-diff/67/ for more details. Comment Actions This works for now because we only have an index for origins; but we're planning to have more in the future (eg. for revisions). Instead of passing the whole name as configuration, could use use a prefix instead? Thanks! Comment Actions Use a prefix instead of changing the index name. Comment Actions Build is green Patch application report for D4785 (id=16955)Rebasing onto be14169ca4... Current branch diff-target is up to date. Changes applied before testcommit 59ed9f24496e45f18cadf2ac585269fbca0a9d3a Author: Vincent SELLIER <vincent.sellier@softwareheritage.org> Date: Wed Dec 23 13:01:31 2020 +0100 Allow to prefix the index name(s) It will allow to perform some tests on different index configurations on the same elasticsearch server Related to T2904 See https://jenkins.softwareheritage.org/job/DSEA/job/tests-on-diff/68/ for more details. Comment Actions you don't need to add swh_search_with_prefix and swh_search_without_prefix if they only get used once; you can call get_search directly in the tests instead Comment Actions Build is green Patch application report for D4785 (id=16957)Rebasing onto be14169ca4... Current branch diff-target is up to date. Changes applied before testcommit 5560ba0ad621473e71f1834766303b94d887c252 Author: Vincent SELLIER <vincent.sellier@softwareheritage.org> Date: Wed Dec 23 13:01:31 2020 +0100 Allow to prefix the index name(s) It will allow to perform some tests on different index configurations on the same elasticsearch server Related to T2904 See https://jenkins.softwareheritage.org/job/DSEA/job/tests-on-diff/69/ for more details. |