Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Logstash/ES versions being used in the tests #687

Merged
merged 26 commits into from
Apr 17, 2024

Conversation

constanca-m
Copy link
Contributor

@constanca-m constanca-m commented Apr 17, 2024

The newest PRs all fail the coverage workflow.

This happens because test_integrations needs to create containers for the tests. The container logstash was getting stuck in waiting to be ready....

Updating the ES and Logstash versions to 7.17.20 solves this issue.

@@ -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
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am leaving the -s flag here so we can see the logs when make coverage runs. Otherwise, if the tests get stuck again, we have no way to know what is stopping them.

@constanca-m constanca-m changed the title Please don't review Update Logstash/ES versions being used in the tests Apr 17, 2024
@constanca-m constanca-m merged commit 8561680 into elastic:main Apr 17, 2024
4 checks passed
@constanca-m constanca-m deleted the delete-this branch April 17, 2024 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants