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

Cherry-pick #15511 to 7.x: Fix pull on ContainerStart wrapper used in tests #15537

Merged
merged 1 commit into from
Jan 14, 2020

Conversation

jsoriano
Copy link
Member

Cherry-pick of PR #15511 to 7.x branch. Original message:

ContainerStart wrapper used in tests was not waiting for the pull to
finish, causing flakiness, e.g. in TestDockerStart. Pull can be
waited to finish by calling to Close() in the response body. This is
also something that has to be done at some moment to avoid leaks.

Also add some more context on error messages.

ContainerStart wrapper used in tests was not waiting for the pull to
finish, causing flakiness, e.g. in TestDockerStart. Pull can be
waited to finish by calling to Close() in the response body. This is
also something that has to be done at some moment to avoid leaks.

Also add some more context on error messages.

(cherry picked from commit dd553b3)
@jsoriano jsoriano merged commit 70765e1 into elastic:7.x Jan 14, 2020
@jsoriano jsoriano deleted the backport_15511_7.x branch January 14, 2020 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants