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

log: one more attempt at race squashing #200

Merged
merged 1 commit into from
Jul 10, 2020
Merged

Conversation

hdonnay
Copy link
Member

@hdonnay hdonnay commented Jul 10, 2020

This change introduces a child context and explicitly closing the write
end of the pipe. It should catch the situation where a line could be
being written after the Context was cancelled and the test returned.

Signed-off-by: Hank Donnay hdonnay@redhat.com

This change introduces a child context and explicitly closing the write
end of the pipe. It should catch the situation where a line could be
being written after the Context was cancelled and the test returned.

Signed-off-by: Hank Donnay <hdonnay@redhat.com>
@hdonnay hdonnay merged commit 900f3bb into master Jul 10, 2020
@hdonnay hdonnay deleted the hank/test-log-race branch July 10, 2020 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants