You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Regresion] Test Failure: System.Net.WebSockets.Client.Tests.CancelTest / CloseAsync_Cancel_Success #25070
Assert.Equal() Failure
↓ (pos 4)
Expected: The 'System.Net.WebSockets.InternalClientWebS···
Actual: The remote party closed the WebSocket connect···
↑ (pos 4)
at System.Net.WebSockets.Client.Tests.ClientWebSocketTestBase.TestCancellation(Func`2 action, Uri server) in D:\j\workspace\windows-TGrou---6368dffa\src\System.Net.WebSockets.Client\tests\ClientWebSocketTestBase.cs:line 81
at System.Net.WebSockets.Client.Tests.CancelTest.CloseAsync_Cancel_Success(Uri server) in D:\j\workspace\windows-TGrou---6368dffa\src\System.Net.WebSockets.Client\tests\CancelTest.cs:line 80
--- End of stack trace from previous location where exception was thrown ---
changed the title [-]Test Failure: System.Net.WebSockets.Client.Tests.CancelTest/CloseAsync_Cancel_Success failed with "Xunit.Sdk.EqualException"[/-][+][Regresion] Test Failure: System.Net.WebSockets.Client.Tests.CancelTest / CloseAsync_Cancel_Success[/+]on Mar 26, 2018
Have run the test 500 times locally, no failure. The test didn't fail in CI in my test PR dotnet/corefx#28481.
The test is that, a ClientWebSocket connects to a external server, send some data, then close the connection. We expect client side initiates the close or transfers into the invalid state first (since we explicitly calls cws.CloseAsync); however, we get the "remote party close the WebSocket connection" (server closes the connection).
Don't understand root cause yet, probably some network race condition. Since a remote server is used, and no failure before 20180214, likely a external server problem. Will enable the test.
Activity
disable test issue #27211
Enable SendReceive_VaryingLengthBuffers_Success on Windows run (#27181)
Enable SendReceive_VaryingLengthBuffers_Success on Windows run (dotne…
[-]Test Failure: System.Net.WebSockets.Client.Tests.CancelTest/CloseAsync_Cancel_Success failed with "Xunit.Sdk.EqualException"[/-][+][Regresion] Test Failure: System.Net.WebSockets.Client.Tests.CancelTest / CloseAsync_Cancel_Success[/+]karelz commentedon Mar 26, 2018
Disabled in dotnet/corefx#27181 - @Caesar1995 why did you disable the tests? Should we look deeper into them for 2.1?
caesar-chen commentedon Mar 26, 2018
I disable the test because I saw consistent failure in CI.
I'll take a look.
caesar-chen commentedon Mar 27, 2018
Have run the test 500 times locally, no failure. The test didn't fail in CI in my test PR dotnet/corefx#28481.
The test is that, a ClientWebSocket connects to a external server, send some data, then close the connection. We expect client side initiates the close or transfers into the invalid state first (since we explicitly calls
cws.CloseAsync); however, we get the "remote party close the WebSocket connection" (server closes the connection).Don't understand root cause yet, probably some network race condition. Since a remote server is used, and no failure before 20180214, likely a external server problem. Will enable the test.