Skip to content

Deal with blocking HttpSys tests#11628

Merged
Tratcher merged 2 commits into
masterfrom
tratcher/noblock
Jun 27, 2019
Merged

Deal with blocking HttpSys tests#11628
Tratcher merged 2 commits into
masterfrom
tratcher/noblock

Conversation

@Tratcher
Copy link
Copy Markdown
Member

https://github.com/aspnet/AspNetCore-Internal/issues/2314
AzDo & Arcade have become exceptionally vulnerable to thread pool starvation. Each of these tests has a blocking call that may trigger a deadlock. I've converted them all to async.

@Tratcher Tratcher added this to the 3.0.0-preview7 milestone Jun 26, 2019
@Tratcher Tratcher self-assigned this Jun 26, 2019
@analogrelay
Copy link
Copy Markdown
Contributor

WaitHandle!!!

Captain Kirk from Star Trek yelling "KHAN!!!!" into a communicator

@jkotalik
Copy link
Copy Markdown
Contributor

jkotalik commented Jun 27, 2019

While you at it, I just hit a flaky test with ResponseBodyWriteExceptions_ClientDisconnectsBeforeFirstWriteAsync_WriteThrows https://dev.azure.com/dnceng/public/_build/results?buildId=240388&view=ms.vss-test-web.build-test-results-tab.

@Tratcher
Copy link
Copy Markdown
Member Author

@jkotalik what about it? That's one of the tests I just changed.

@jkotalik
Copy link
Copy Markdown
Contributor

I admit I didn't look at this PR at all. I just saw a failed HttpSys test on my PR and was like "AGHHHH CHRIS IT'S YOUR FAULT" and added a comment here. Glad it's resolved already.

@Tratcher Tratcher merged commit 2745349 into master Jun 27, 2019
@ghost ghost deleted the tratcher/noblock branch June 27, 2019 21:11
@amcasey amcasey added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants