Fix networking tests to work against NETFX (dotnet/corefx#31397)
authorDavid Shulman <david.shulman@microsoft.com>
Sun, 29 Jul 2018 14:57:08 +0000 (07:57 -0700)
committerGitHub <noreply@github.com>
Sun, 29 Jul 2018 14:57:08 +0000 (07:57 -0700)
commitda166250dcbb1a7f90d92fa79b3e9ac25880a562
treea8a25947efe2d5c95d14152f7d6b2f3e6dc5b1cb
parentdd2e564e784c77ac4e7ba59930f11352ee171cf8
Fix networking tests to work against NETFX (dotnet/corefx#31397)

Several of these tests were disabled because they failed on NETFX. This PR adjusts the tests
to work properly on NETFX due to some differences in behavior from .NET Core.

Fixes dotnet/corefx#28882

Commit migrated from https://github.com/dotnet/corefx/commit/f5a165540c4067b8fe0635b9beb6102d0b1d87a3
src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.MaxConnectionsPerServer.cs
src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.cs
src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientTest.cs
src/libraries/System.Net.Http/tests/FunctionalTests/MultipartContentTest.cs
src/libraries/System.Net.Sockets/tests/FunctionalTests/SendReceive.cs
src/libraries/System.Net.Sockets/tests/FunctionalTests/SocketTestHelper.cs