Identify and fix tests that do synchronous request and response IO #5899
Labels
area-hosting
Includes Hosting
area-networking
Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Done
This issue has been fixed
task
Milestone
In preparation for defaulting AllowSynchronousIO to false we should identify and fix tests that call synchronous request and response Stream APIs.
Most Universe functional tests use Hosting's TestHost which doesn't need to change to disallow synchronous IO, but doing so allows us to potentially identify use cases (such as using DeflateStream) that make it difficult to avoid using synchronous IO.
Below are the test project that I saw fail when I modified TestHost not to allow sync request and response stream operations (excluding Flush). Here's the output showing each failed test.
The text was updated successfully, but these errors were encountered: