Skip to content

Fix #19991 Made TestHost fail when Response Flush is called with AllowSynchronossIO being dissabled #20059

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

Merged
merged 5 commits into from
Mar 26, 2020

Conversation

Euphoric
Copy link
Contributor

TestHost behaves differently than Kestrel, when Response's synchronous Flush is called. Kestrel fails with an InvalidOperationException, while TestHost works properly. This change should make the two behave the same way.

If any tests fail because of this change, it means the same code would fail running in Kestrel.

Addresses #19991

Copy link
Member

@Tratcher Tratcher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this caused several failures in other TestServer tests. There are also failures in ResponseCompression. Please take a look.
https://dev.azure.com/dnceng/public/_build/results?buildId=568952&view=ms.vss-test-web.build-test-results-tab&runId=17857014&resultId=100431&paneView=debug

@Euphoric
Copy link
Contributor Author

I fixed the tests, but it seems there is some instability failing the build?

@Tratcher Tratcher self-assigned this Mar 25, 2020
@analogrelay analogrelay added this to the 5.0.0-preview3 milestone Mar 25, 2020
@Tratcher Tratcher merged commit e21fb7e into dotnet:master Mar 26, 2020
@Tratcher
Copy link
Member

Thanks

@amcasey amcasey added the area-hosting Includes Hosting label Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-hosting Includes Hosting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants