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

Make StreamReadingExceptionsAreIOExceptions not flaky #7688

Merged

Conversation

pakrym
Copy link
Contributor

@pakrym pakrym commented Sep 19, 2019

Fixes: #7689
The cause of flakiness was a race where we were terminating the response before we finished reading headers on the client. Using TaskCompletionSource to make sure we are at the right spot before aborting the connection.

@pakrym pakrym closed this Sep 19, 2019
@pakrym pakrym reopened this Sep 19, 2019
@pakrym pakrym merged commit 0bdbb03 into Azure:master Sep 19, 2019
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.

StreamReadingExceptionsAreIOExceptions is flaky
2 participants