Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def _environment_by_version(version: int) -> dict[str, str]:
return {"discovery.zen.minimum_master_nodes": "1"}
elif version == 7:
return {}
elif version == 8:
elif version in {8, 9}:
# Elasticsearch uses https now by default. However, our readiness
# check uses http, which does not work. Hence we disable security
# which should not be an issue for our context
Expand Down
2 changes: 1 addition & 1 deletion modules/elasticsearch/tests/test_elasticsearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


# The versions below should reflect the latest stable releases
@pytest.mark.parametrize("version", ["7.17.18", "8.12.2"])
@pytest.mark.parametrize("version", ["7.17.18", "8.12.2", "9.1.4"])
def test_docker_run_elasticsearch(version):
with ElasticSearchContainer(f"elasticsearch:{version}", mem_limit="3G") as es:
resp = urllib.request.urlopen(es.get_url())
Expand Down