Skip to content

Commit 701b23a

Browse files
authored
fix: failing tests for elasticsearch on machines with ARM CPU (#454)
- 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)
1 parent ed3b9fa commit 701b23a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/elasticsearch/tests/test_elasticsearch.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
from testcontainers.elasticsearch import ElasticSearchContainer
77

88

9-
# The versions below were the current supported versions at time of writing (2022-08-11)
10-
@pytest.mark.parametrize("version", ["6.8.23", "7.17.5", "8.3.3"])
9+
# The versions below should reflect the latest stable releases
10+
@pytest.mark.parametrize("version", ["7.17.18", "8.12.2"])
1111
def test_docker_run_elasticsearch(version):
1212
with ElasticSearchContainer(f"elasticsearch:{version}", mem_limit="3G") as es:
1313
resp = urllib.request.urlopen(es.get_url())

0 commit comments

Comments
 (0)