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

Try to fix flakiness of appsearch system tests #15878

Merged

Conversation

jsoriano
Copy link
Member

This test fails quite frequently in python 3 builds in Travis #14798, and much
less frequently in other builds. Try to address this flakiness.

  • Use the health check of the service for the docker health check
  • Actually check the response status code
  • Reduce memory allocation for JVM

@jsoriano jsoriano requested a review from a team as a code owner January 27, 2020 18:41
@jsoriano jsoriano self-assigned this Jan 27, 2020
@jsoriano jsoriano mentioned this pull request Jan 27, 2020
63 tasks
Copy link
Contributor

@mtojek mtojek left a comment

Choose a reason for hiding this comment

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

Feel free to merge this PR if it removes flakiness.

@jsoriano
Copy link
Member Author

No luck. I am going to try to revert the memory change and if I cannot solve it in travis I will skip the test.

@jsoriano
Copy link
Member Author

I think that the failures at this point are being caused by builds in travis taking significative longer.

@jsoriano
Copy link
Member Author

In any case I would like to merge this change, it fixes issues at least in local, and shows the output of nosetests, what I find helpful (and will be consistent with the equivalent change we did for go tests in #14839).

@jsoriano jsoriano merged commit cc6d798 into elastic:feature/python3 Jan 28, 2020
@jsoriano jsoriano deleted the flaky-appsearch-system-tests branch January 28, 2020 14:13
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
Use the health check of the service for the docker health check,
and check the status code of the response.

Print nosetests output on builds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants