Skip to content

Connect_ThrowSocketException_Success failures on Linux #79820

@antonfirsov

Description

@antonfirsov

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

No one assigned

    Labels

    area-System.Net.Socketsdisabled-testThe test is disabled in source code against the issuetest-bugProblem in test source code (most likely)

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions