-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Use Sync Send methods in Sync HttpClient tests #93139
Conversation
Tagging subscribers to this area: @dotnet/ncl Issue DetailsUpdated a few existing tests that weren't propagating the Also increased the timeout on
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Updated a few existing tests that weren't propagating the
TestAsync
flag through and would always test the async paths.Also increased the timeout on
GetAsync_ResponseHasNormalLineEndings_Success
because AFAICT, the test isn't actually getting stuck, but can just take a long time to execute on busy machines.In these logs, you can see how bytes were slowly being sent through, but sometimes with ~20-second delays (the test is sending the response one byte at a time).
Contributes to #76678 (I'll keep an eye on CI to see if this decreases the number of times we're retrying this test).