diff --git a/tests/scripts/run_tests.sh b/tests/scripts/run_tests.sh index 6ae8de29..b2ee2f42 100755 --- a/tests/scripts/run_tests.sh +++ b/tests/scripts/run_tests.sh @@ -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 diff --git a/tests/testcontainers/es.py b/tests/testcontainers/es.py index 86443440..50a8abba 100644 --- a/tests/testcontainers/es.py +++ b/tests/testcontainers/es.py @@ -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 diff --git a/tests/testcontainers/logstash.py b/tests/testcontainers/logstash.py index dba41a00..b00824a5 100644 --- a/tests/testcontainers/logstash.py +++ b/tests/testcontainers/logstash.py @@ -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"