Fix websocket partial message receive test (dotnet/corefx#29826)
authorDavid Shulman <david.shulman@microsoft.com>
Tue, 22 May 2018 01:09:16 +0000 (18:09 -0700)
committerGitHub <noreply@github.com>
Tue, 22 May 2018 01:09:16 +0000 (18:09 -0700)
commit19d0b8b05ffec5bd12d01abdec6f8a131161f5b4
treeb2b7a6e41743cdda030941a6c5e6146d26e89733
parente78eb85245a5ee315b3e8d7fe0530ddc476bf503
Fix websocket partial message receive test (dotnet/corefx#29826)

This test was originally disabled before we switched from WinHTTP to a managed
implementation on Windows. And any other failure noted on Linux was probably due
to a transient network/environment issue.

I simplified the test to use smaller buffer sizes which might help with any test
environment issues. These updated sizes still meet the requirements of what needs
to be tested. If we find that this test is still failing frequently then we will
switch to a loopback echo websocket server (which we don't have fully implemented yet).

Fixes dotnet/corefx#9296

Commit migrated from https://github.com/dotnet/corefx/commit/077280bd5b20d158136ea000bb6c4c86ec40ac0c
src/libraries/System.Net.WebSockets.Client/tests/SendReceiveTest.cs