Skip to content

BeginConnect_EndPoint_AddressFamily_Throws_NotSupported test fails deterministically on netfx on RS4 #26062

@stephentoub

Description

@stephentoub
System.Net.Sockets.Tests.ArgumentValidation.BeginConnect_EndPoint_AddressFamily_Throws_NotSupported [FAIL]
        Assert.Throws() Failure
        Expected: typeof(System.NotSupportedException)
        Actual:   typeof(System.InvalidOperationException): BeginConnect cannot be called while another asynchronous operation is in progress on the same Socket.
        Stack Trace:
             at System.Net.Sockets.Socket.BeginConnect(EndPoint remoteEP, AsyncCallback callback, Object state)
             at System.Threading.Tasks.TaskFactory`1.FromAsyncImpl[TArg1](Func`4 beginMethod, Func`2 endFunction, Action`1 endAction, TArg1 arg1, Object state, TaskCreationOptions cr
  eationOptions)
             at System.Net.Sockets.SocketTaskExtensions.ConnectAsync(Socket socket, EndPoint remoteEndPoint)
             at System.Net.Sockets.Tests.ArgumentValidation.<>c.<BeginConnect_EndPoint_AddressFamily_Throws_NotSupported>b__106_1()

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.Net.Socketstest-run-desktopTest failures in .NET Framework "Desktop" test runs (running CoreFX test assets)

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions