Skip to content

Commit

Permalink
fix: failing tests for elasticsearch on machines with ARM CPU (#454)
Browse files Browse the repository at this point in the history
- updated the image versions used for tests with the latest supported
tags: https://hub.docker.com/_/elasticsearch
- fixes
#452

![Screenshot 2024-03-09 at 09 49
53](https://github.com/testcontainers/testcontainers-python/assets/13573675/84384190-3cc2-47c3-b795-a86efc062e3c)
  • Loading branch information
max-pfeiffer authored Mar 9, 2024
1 parent ed3b9fa commit 701b23a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/elasticsearch/tests/test_elasticsearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
from testcontainers.elasticsearch import ElasticSearchContainer


# The versions below were the current supported versions at time of writing (2022-08-11)
@pytest.mark.parametrize("version", ["6.8.23", "7.17.5", "8.3.3"])
# The versions below should reflect the latest stable releases
@pytest.mark.parametrize("version", ["7.17.18", "8.12.2"])
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

0 comments on commit 701b23a

Please sign in to comment.