Use unbounded connected streams in System.Net.Security tests (#43327)
authorStephen Toub <stoub@microsoft.com>
Tue, 13 Oct 2020 15:15:06 +0000 (11:15 -0400)
committerGitHub <noreply@github.com>
Tue, 13 Oct 2020 15:15:06 +0000 (11:15 -0400)
commit546115d17880b6dc97bf3f0a0c846c760e53b11e
treeaa6fc642c135fd0755f091deb290957f7dc28680
parenta4f37f81efadc28699f962f8410b54c7b09c574b
Use unbounded connected streams in System.Net.Security tests (#43327)

Recently there's been a rash of sporadic timeouts/hangs in System.Net.Security tests.  I don't _think_ it's related to hitting the maximum buffer size in ConnectedStreams (e.g. if the test is written in a way that it assumes a write will always complete synchronously and won't proceed to read until it does), but I'm removing the bound to see if that helps.  We can put it back later if desired: it's not what the tests are validating, and previous to my ConnectedStream change there was no bound, either.
src/libraries/System.Net.Security/tests/FunctionalTests/NegotiateStreamInvalidOperationTest.cs
src/libraries/System.Net.Security/tests/FunctionalTests/NegotiateStreamStreamToStreamTest.cs
src/libraries/System.Net.Security/tests/FunctionalTests/SslAuthenticationOptionsTest.cs
src/libraries/System.Net.Security/tests/FunctionalTests/SslStreamAlertsTest.cs
src/libraries/System.Net.Security/tests/FunctionalTests/SslStreamCredentialCacheTest.cs
src/libraries/System.Net.Security/tests/FunctionalTests/SslStreamDisposeTest.cs
src/libraries/System.Net.Security/tests/FunctionalTests/SslStreamNetworkStreamTest.cs
src/libraries/System.Net.Security/tests/FunctionalTests/SslStreamSniTest.cs
src/libraries/System.Net.Security/tests/FunctionalTests/SslStreamStreamToStreamTest.cs
src/libraries/System.Net.Security/tests/FunctionalTests/TestHelper.cs