-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
area-System.Net.Socketsdisabled-testThe test is disabled in source code against the issueThe test is disabled in source code against the issuetest-bugProblem in test source code (most likely)Problem in test source code (most likely)
Milestone
Description
Test case: System.Net.Sockets.Tests.ConnectTask.Connect_ThrowSocketException_Success
Error message:
Assert.Fail(): Socket Connect should throw SocketException in this case.
Stack trace:
at System.Net.Sockets.Tests.ConnectTask.Connect_ThrowSocketException_Success() in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/Connect.cs:line 230
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodInvoker.cs:line 59
The socket seems to make a succesful connect to an unrelated dual socket in a parallel test. Can be fixed with a trick like #1481 (comment).
Metadata
Metadata
Assignees
Labels
area-System.Net.Socketsdisabled-testThe test is disabled in source code against the issueThe test is disabled in source code against the issuetest-bugProblem in test source code (most likely)Problem in test source code (most likely)