Skip to content

Commit

Permalink
Update Logstash/ES versions being used in the tests (#687)
Browse files Browse the repository at this point in the history
* Fix ES / Logstash versions being used in tests
  • Loading branch information
constanca-m authored Apr 17, 2024
1 parent afd3772 commit 8561680
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/scripts/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set -ex
# delete any __pycache__ folders to avoid hard-to-debug caching issues
find . -name __pycache__ -type d -exec rm -r '{}' + || true
PYTEST_ARGS=("${PYTEST_ARGS}")
py.test -vv "${PYTEST_ARGS[*]}" "${PYTEST_JUNIT}" tests
py.test -vv "${PYTEST_ARGS[*]}" "${PYTEST_JUNIT}" tests -s

if [[ "${PYTEST_ADDOPTS}" == *"--cov"* ]]; then
# Transform coverage to xml so Jenkins can parse and report it
Expand Down
2 changes: 1 addition & 1 deletion tests/testcontainers/es.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class ElasticsearchContainer(DockerContainer): # type: ignore
"""

_DEFAULT_IMAGE = "docker.elastic.co/elasticsearch/elasticsearch"
_DEFAULT_VERSION = "7.17.9"
_DEFAULT_VERSION = "7.17.20"
_DEFAULT_PORT = 9200
_DEFAULT_USERNAME = DEFAULT_USERNAME
_DEFAULT_PASSWORD = DEFAULT_PASSWORD
Expand Down
2 changes: 1 addition & 1 deletion tests/testcontainers/logstash.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class LogstashContainer(DockerContainer): # type: ignore
"""

_DEFAULT_IMAGE = "docker.elastic.co/logstash/logstash"
_DEFAULT_VERSION = "7.17.0"
_DEFAULT_VERSION = "7.17.20"
_DEFAULT_PORT = 5044
_DEFAULT_API_PORT = 9600
_DEFAULT_USERNAME = "USERNAME"
Expand Down

0 comments on commit 8561680

Please sign in to comment.